Description
OpenClaw versions prior to 2026.2.21 contain an approval-integrity mismatch vulnerability in system.run that allows authenticated operators to execute arbitrary trailing arguments after cmd.exe /c while approval text reflects only a benign command. Attackers can smuggle malicious arguments through cmd.exe /c to achieve local command execution on trusted Windows nodes with mismatched audit logs.
Problem types
CWE-88 Argument Injection or Modification
Product status
Any version before 2026.2.21
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-5v6x-rfc3-7qfr (GitHub Security Advisory (GHSA-5v6x-rfc3-7qfr))
github.com/...ommit/6007941f04df1edcca679dd6c95949744fdbd4df (Patch Commit)
www.vulncheck.com/...-exe-c-trailing-arguments-in-system-run (VulnCheck Advisory: OpenClaw <= 2026.2.19-2 - Command Injection via cmd.exe /c Trailing Arguments in system.run)