Description
OpenClaw before 2026.4.23 contains an improper access control vulnerability in the gateway tool's config.apply and config.patch operations that allows compromised models to write unsafe configuration changes by bypassing an incomplete denylist protection. Attackers can persist malicious config modifications affecting command execution, network behavior, credentials, and operator policies that survive restart.
Problem types
Incomplete List of Disallowed Inputs
Product status
Any version before 2026.4.23
2026.4.23 (semver)
Credits
zsx (@zsxsoft)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-cwj3-vqpp-pmxr (GitHub Security Advisory (GHSA-cwj3-vqpp-pmxr))
github.com/...ommit/bceda6089aa7b3695cc7696b43c61ae3d01bb0ec (Patch Commit)
www.vulncheck.com/...tation-via-gateway-tool-denylist-bypass (VulnCheck Advisory: OpenClaw < 2026.4.23 - Unsafe Config Mutation via Gateway Tool Denylist Bypass)