VDB
Sign up
MEDIUM4.3

GHSA-4hmj-39m8-jwc7

OpenClaw has ACP CLI approval prompt ANSI escape sequence injection

Quick fix

GHSA-4hmj-39m8-jwc7 — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.3.28

Details

## 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`

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 2026.2.13Fixed in: 2026.3.28
Fixnpm install openclaw@2026.3.28

References