Description
OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks. Attackers can modify PATH resolution after approval to execute a different binary than the operator approved, enabling arbitrary command execution.
Problem types
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Product status
Any version before 2026.3.1
2026.3.1 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-q399-23r3-hfx4 (GitHub Security Advisory (GHSA-q399-23r3-hfx4))
www.vulncheck.com/...ound-path-token-in-system-run-approvals (VulnCheck Advisory: OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals)