Description
OpenClaw versions prior to 2026.2.24 contain a command injection vulnerability in the system.run shell-wrapper that allows attackers to execute hidden commands by injecting positional argv carriers after inline shell payloads. Attackers can craft misleading approval text while executing arbitrary commands through trailing positional arguments that bypass display context validation.
Problem types
Product status
Any version before 2026.2.24
2026.2.24 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-6rcp-vxwf-3mfp (GitHub Security Advisory (GHSA-6rcp-vxwf-3mfp))
github.com/...ommit/0f0a680d3df81739ea5088a2f88e65f938b7936b (Patch Commit #1)
github.com/...ommit/55cf92578d266987e390c4bf688196af98eac748 (Patch Commit #2)
www.vulncheck.com/...-shell-wrapper-positional-argv-carriers (VulnCheck Advisory: OpenClaw < 2026.2.24 - Hidden Command Execution via Shell-Wrapper Positional argv Carriers)