Description
OpenClaw before 2026.3.8 contains an approval bypass vulnerability in system.run where mutable script operands are not bound across approval and execution phases. Attackers can obtain approval for script execution, modify the approved script file before execution, and execute different content while maintaining the same approved command shape.
Problem types
Time-of-check Time-of-use (TOCTOU) Race Condition
Product status
Any version before 2026.3.8
2026.3.8 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-8g75-q649-6pv6 (GitHub Security Advisory (GHSA-8g75-q649-6pv6))
github.com/...ommit/c76d29208bf6a7f058d2cf582519d28069e42240 (Patch Commit #1)
github.com/...ommit/cf3a479bd1204f62eef7dd82b4aa328749ae6c91 (Patch Commit #2)
www.vulncheck.com/...a-mutable-operand-binding-in-system-run (VulnCheck Advisory: OpenClaw < 2026.3.8 - Script Content Modification via Mutable Operand Binding in system.run)