Openclaw cli: OpenClaw's gateway config mutation guard allowed unsafe model-driven config writes (CVE-2026-45006)
Description
OpenClaw CLI's gateway config mutation guard used a denylist to protect sensitive configuration paths, but the growing config schema outpaced this denylist, allowing unsafe model-driven config writes. This vulnerability enables a compromised or prompt-injected model with access to the owner-only gateway tool to persist unsafe configuration changes crossing security boundaries. These changes could affect command execution, network behavior, credentials, telemetry, and operator policies, and survive restarts. The issue affects openclaw versions from 2026.1.29 up to but not including 2026.4.23. The vulnerability is rated high severity with a CVSS score of 8.8. A fix is available in version 2026.4.23, which replaces the denylist with a fail-closed allowlist restricting config changes to narrow, safe paths.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw CLI's agent-facing gateway tool protects config.apply and config.patch operations with a model-to-operator trust boundary enforced by a denylist of protected config paths. The config schema expanded beyond this denylist, leaving sensitive subtrees writable through model-driven gateway config mutations. A compromised or prompt-injected model with access to the owner-only gateway tool could persist unsafe config changes crossing security boundaries, including command execution, network/proxy/TLS behavior, credential forwarding, telemetry, hook endpoints, memory/indexing surfaces, and operator policy controls. These unsafe changes persist across restarts. The vulnerability affects openclaw versions >=2026.1.29 and <2026.4.23. The fix, committed in bceda6089aa7b3695cc7696b43c61ae3d01bb0ec and released in [email protected], replaces the denylist with a fail-closed allowlist that permits only narrow agent-tunable prompt/model settings and mention-gating paths, rejecting other config changes before mutation RPC invocation.
Potential Impact
An attacker controlling or influencing the model with access to the owner-only gateway tool can persist unsafe configuration changes that cross security boundaries. These changes can affect critical areas such as command execution, network and proxy settings, TLS behavior, credential forwarding, telemetry, hook endpoints, memory and indexing surfaces, and operator policy controls. The unsafe configurations persist after restarts, potentially leading to unauthorized command execution, data exposure, or policy bypass. The vulnerability is rated high severity with a CVSS 3.1 score of 8.8, indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A patch is available in openclaw version 2026.4.23 that replaces the insecure denylist with a fail-closed allowlist, restricting config.apply and config.patch operations to a narrow set of safe, agent-tunable prompt/model settings and mention-gating paths. Users should upgrade to version 2026.4.23 or later to mitigate this vulnerability. No additional mitigation is required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-45006
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac2458f12601ec6a3164148
Added to database: 10/04/2026, 12:24:47 UTC
Last enriched: 10/04/2026, 12:38:22 UTC
Last updated: 10/04/2026, 16:08:38 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.