Description
OpenClaw before 2026.4.20 contains a guard bypass vulnerability in the agent-facing gateway config.patch and config.apply endpoints that fails to protect operator-trusted settings including sandbox policy, plugin enablement, gateway auth/TLS, hook routing, MCP server configuration, SSRF policy, and filesystem hardening. A prompt-injected model with access to the owner-only gateway tool can persist unauthorized changes to protected operator settings.
Problem types
Product status
Any version before 2026.4.20
2026.4.20 (semver)
Credits
zsx (@zsxsoft)
KeenSecurityLab
qclawer
References
github.com/...enclaw/security/advisories/GHSA-7jm2-g593-4qrc (GitHub Security Advisory (GHSA-7jm2-g593-4qrc))
github.com/...ommit/fe30b31a97a917ecc6e92f6c85378b6b20352422 (Patch Commit)
www.vulncheck.com/...tion-guard-bypass-via-agent-tool-access (VulnCheck Advisory: OpenClaw < 2026.4.20 - Gateway Config Mutation Guard Bypass via Agent Tool Access)