openclaw/openclaw · Security
OpenClaw has ACP CLI approval prompt ANSI escape sequence injection
- GHSA ID
- GHSA-4hmj-39m8-jwc7
- CVE ID
- CVE-2026-35651
- Severity
- medium
- Published
- Updated
- CVSS
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CVSS v3
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Description
Summary
ACP CLI approval prompt ANSI escape sequence injection
Affected Packages / Versions
- Package:
openclaw - Affected versions:
>= 2026.2.13, <= 2026.3.24 - First patched version:
2026.3.25 - Latest published npm version at verification time:
2026.3.24
Details
ACP tool titles could previously carry ANSI control sequences into approval prompts and permission logs, letting untrusted tool metadata spoof terminal output. Commit 464e2c10a5edceb380d815adb6ff56e1a4c50f60 sanitizes tool titles at the source and broadens ANSI stripping to full CSI sequences.
Verified vulnerable on tag v2026.3.24 and fixed on main by commit 464e2c10a5edceb380d815adb6ff56e1a4c50f60.
Fix Commit(s)
464e2c10a5edceb380d815adb6ff56e1a4c50f60
CWEs
- CWE-116 · Improper Encoding or Escaping of Output
- CWE-150 · Improper Neutralization of Escape, Meta, or Control Sequences
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-4hmj-39m8-jwc7 ↗
- https://github.com/openclaw/openclaw/commit/464e2c10a5edceb380d815adb6ff56e1a4c50f60 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-35651 ↗
- https://www.vulncheck.com/advisories/openclaw-ansi-escape-sequence-injection-in-approval-prompt ↗
- https://github.com/advisories/GHSA-4hmj-39m8-jwc7 ↗