Description
OpenClaw before 2026.4.22 contains a security envelope constraint bypass vulnerability allowing restricted subagents to spawn ACP child sessions that fail to inherit depth, child-count limits, control scope, or target-agent restrictions. Attackers can exploit this by spawning child sessions that bypass subagent-only constraints, potentially escalating privileges or accessing restricted resources.
Problem types
Incorrect Privilege Assignment
Product status
Any version before 2026.4.22
2026.4.22 (semver)
Credits
zsx (@zsxsoft)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-q3jj-46pq-826r (GitHub Security Advisory (GHSA-q3jj-46pq-826r))
github.com/...ommit/31160dc069b7cc5d833b39c53736a41ad3befda2 (Patch Commit)
www.vulncheck.com/...constraint-bypass-in-acp-child-sessions (VulnCheck Advisory: OpenClaw < 2026.4.22 - Security Envelope Constraint Bypass in ACP Child Sessions)