Description
OpenClaw versions prior to 2026.2.25 contain an approval-integrity bypass vulnerability in system.run where rendered command text is used as approval identity while trimming argv token whitespace, but runtime execution uses raw argv. An attacker can craft a trailing-space executable token to execute a different binary than what the approver displayed, allowing unexpected command execution under the OpenClaw runtime user when they can influence command argv and reuse an approval context.
Problem types
Product status
Any version before 2026.2.25
2026.2.25 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-hwpq-rrpf-pgcq (GitHub Security Advisory (GHSA-hwpq-rrpf-pgcq))
github.com/...ommit/03e689fc89bbecbcd02876a95957ef1ad9caa176 (Patch Commit)
www.vulncheck.com/...ismatch-in-system-run-command-execution (VulnCheck Advisory: OpenClaw < 2026.2.25 - Approval Identity Mismatch in system.run Command Execution)