Description
OpenClaw before 2026.5.18 contains a command injection vulnerability where shell wrapper argv could change between approval and execution. Attackers can rebuild command arguments after allowlist approval to execute unapproved command shapes, potentially bypassing security controls.
Problem types
Time-of-check Time-of-use (TOCTOU) Race Condition
Product status
Any version before 2026.5.18
2026.5.18 (semver)
References
github.com/...enclaw/security/advisories/GHSA-2j8v-hwgc-x698 (GitHub Security Advisory (GHSA-2j8v-hwgc-x698))
www.vulncheck.com/...-wrapper-between-approval-and-execution (VulnCheck Advisory: OpenClaw < 2026.5.18 - Command Argument Modification via Shell Wrapper Between Approval and Execution)