Description
OpenClaw versions prior to 2026.3.7 contain a shell approval gating bypass vulnerability in system.run dispatch-wrapper handling that allows attackers to skip shell wrapper approval requirements. The approval classifier and execution planner apply different depth-boundary rules, permitting exactly four transparent dispatch wrappers like repeated env invocations before /bin/sh -c to bypass security=allowlist approval gating by misaligning classification with execution planning.
Problem types
CWE-863: Incorrect Authorization
Product status
Any version before 2026.3.7
2026.3.7 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-r6qf-8968-wj9q (GitHub Security Advisory (GHSA-r6qf-8968-wj9q))
github.com/...ommit/2fc95a7cfc1eb9306356510b0251b6d51fb1c0b0 (Patch Commit)
vulncheck.com/...-bypass-via-dispatch-wrapper-depth-mismatch (VulnCheck Advisory)