Description
OpenClaw versions 2026.2.13 through 2026.3.24 contain an ANSI escape sequence injection vulnerability in approval prompts that allows attackers to spoof terminal output. Untrusted tool metadata can carry ANSI control sequences into approval prompts and permission logs, enabling attackers to manipulate displayed information through malicious tool titles.
Problem types
CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
Product status
2026.2.13 (semver)
2026.3.25 (semver)
Credits
Nathan (@nexrin)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-4hmj-39m8-jwc7 (GitHub Security Advisory (GHSA-4hmj-39m8-jwc7))
github.com/...ommit/464e2c10a5edceb380d815adb6ff56e1a4c50f60 (Patch Commit)
www.vulncheck.com/...e-sequence-injection-in-approval-prompt (VulnCheck Advisory: OpenClaw 2026.2.13 < 2026.3.25 - ANSI Escape Sequence Injection in Approval Prompt)