Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OpenClaw
-
DeliveryDeliver prompt injection payload via user input
-
ExploitModel invokes gateway config.patch tool
-
ExecutionMutate protected operator settings (sandbox/plugins/SSRF)
-
PersistPersist unauthorized configuration
-
ImpactExploit weakened security boundaries for code execution or lateral movement
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access (PR:L) to an OpenClaw deployment where an AI model has been granted access to the owner-only gateway tool capability. The attacker must successfully execute a prompt injection attack against that model to cause it to invoke config.patch or config.apply with unauthorized configuration mutations. This is NOT a vulnerability in default OpenClaw deployments where models lack gateway tool access, nor does it affect deployments with robust prompt injection defenses or strict input sanitization on model inputs. The vulnerability specifically targets the authorization guard protecting agent-facing configuration endpoints /gateway/config.patch and /gateway/config.apply when processing mutations to protected operator settings-not unauthenticated remote access to the gateway itself. Required deployment characteristics: OpenClaw version <2026.4.20, gateway tool explicitly enabled for at least one agent (via agents.list[].tools or agents.defaults.tools configuration), and model exposure to attacker-controlled or attacker-influenced input capable of triggering tool invocations. Exploitation is LIMITED by: the need for prior authenticated access to the OpenClaw system, the requirement that the deployment trusts models with gateway tool access, and the complexity of crafting reliable prompt injection payloads that successfully invoke the gateway tool with specific configuration mutations while evading any prompt filtering or output validation. |
| Impact | Real-world risk is moderate and highly context-dependent despite the 7.1 CVSS score. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N) indicates network-accessible exploitation with low complexity, but the attack requires authenticated access to OpenClaw's gateway tool system and successful prompt injection of an AI model-a prerequisite that significantly narrows the attack surface compared to traditional remote vulnerabilities. The High integrity impact reflects the ability to persist changes to security-critical operator settings including sandbox escapes, plugin trust boundaries, and SSRF controls. Low confidentiality impact suggests limited direct data exfiltration. Scope:Unchanged means the vulnerability affects only OpenClaw's own security boundary. No CISA KEV listing and no public exploit code identified at time of analysis, indicating this is not yet widely targeted. However, the rise of prompt injection as an attack vector in AI systems elevates practical risk for organizations running OpenClaw with untrusted model inputs or third-party agents. The vendor classifies this as medium severity, characterizing it as 'model-to-operator guard bypass, not a remote unauthenticated gateway compromise'-a critical distinction for risk assessment. Organizations with strong prompt injection defenses, model access controls, and input validation face lower risk than those exposing OpenClaw agents to untrusted user content. |
| Exploit ScenarioDerived | An attacker crafts malicious user input containing prompt injection payloads designed to manipulate an AI model with access to OpenClaw's gateway tool. The injected prompt instructs the model to invoke config.patch with a JSON payload that disables sandbox.mode or sets tools.fs.workspaceOnly to false, weakening container isolation or filesystem restrictions. Because the authorization guard fails to protect these operator-trusted paths, the mutation persists to the gateway configuration. The attacker then leverages the weakened security posture to execute arbitrary code outside the intended sandbox, access sensitive filesystem paths, or enable a malicious plugin previously disabled by the operator. With SSRF protections also mutable via the same vulnerability, the attacker could reconfigure browser.ssrfPolicy to allow requests to internal network resources, enabling lateral movement or metadata service exploitation in cloud environments. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Prompt-injected AI models can escalate privileges and persist unauthorized configuration changes in OpenClaw gateway before version 2026.4.20 via insufficient authorization guards on agent-facing config.patch and config.apply endpoints. Authenticated attackers (PR:L) with model tool access can disable sandbox policies, enable malicious plugins, modify TLS/authentication settings, alter SSRF protections, reconfigure MCP servers, and weaken filesystem hardening-effectively bypassing operator-enforced security boundaries. Vendor-released patch available in version 2026.4.20. No evidence of active exploitation; EPSS data not available for this recently disclosed vulnerability.
RemediationAI
Upgrade to OpenClaw version 2026.4.20 or later, which introduces comprehensive authorization guards blocking model-driven config.patch and config.apply mutations to operator-trusted configuration paths including sandbox policies, plugin enablement, gateway authentication/TLS settings, hook routing, MCP server configuration, SSRF policies, and filesystem hardening controls. The fix also prevents guard bypass via per-agent overrides and array-entry patching under agents.list[]. Installation via npm: 'npm install openclaw@2026.4.20' or 'npm update openclaw'. Vendor advisory and patch details available at https://github.com/openclaw/openclaw/security/advisories/GHSA-7jm2-g593-4qrc. If immediate patching is not feasible, implement these compensating controls with their trade-offs: (1) Disable or restrict the gateway tool from agent access by removing it from the agents.defaults.tools allowlist-this prevents legitimate model-driven gateway management workflows but eliminates the attack vector entirely. (2) Implement strict input validation and prompt injection detection on all user-supplied content reaching models with gateway tool access-reduces risk but cannot guarantee prevention of sophisticated injection techniques. (3) Enable comprehensive audit logging for all config.patch and config.apply operations with alerting on changes to protected paths listed in the advisory (sandbox, plugins.*, hooks.*, browser.ssrfPolicy, mcp.servers, tools.fs)-provides detection but not prevention, requiring manual incident response. (4) Run OpenClaw agents in isolated environments with read-only configuration mounted from external sources and restart-based configuration changes only-eliminates runtime mutation capability but sacrifices dynamic reconfiguration features. Each workaround involves operational friction and should be considered temporary until upgrade completion.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenClaw is an AI agent framework delivered as an npm package that provides gateway endpoints for model-driven configuration management. The vulnerability (CWE-862: Missing Authorization) exists in the authorization guard logic protecting the agent-facing gateway tool's config.patch and config.apply methods. These endpoints allow runtime configuration changes but failed to enforce access controls on operator-trusted configuration paths including agents.defaults.sandbox, agents.list[].sandbox, agents.list[].tools, tools.fs, plugins.allow, plugins.entries, hooks.token, browser.ssrfPolicy, and mcp.servers. The guard implementation did not cover per-agent overrides or array-entry patching via the mergeObjectArraysById pattern, enabling privilege escalation through nested configuration mutations. The CVSS vector AV:N indicates network-accessible endpoints, though exploitation requires authenticated access (PR:L) to the gateway tool system, not direct unauthenticated remote access to the gateway itself.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
OpenClaw gateway versions before 2026.4.20 contain a privilege escalation vulnerability allowing authenticated users with AI model tool access to bypass security controls and persistently modify critical gateway configuration, including sandbox policies, authentication settings, and plugin management. This directly undermines the security posture of organizations relying on OpenClaw for AI application orchestration and could enable lateral movement or persistence within deployed environments.
Apply vendor patch (version 2026.4.20 or later). Until patched, implement: (1) restrict AI model tool access to non-administrative functions only; (2) enforce continuous monitoring of config.patch and config.apply endpoint access logs; (3) implement network segmentation limiting model communication to essential gateway endpoints; (4) disable unnecessary plugins and MCP server integrations; (5) conduct immediate configuration audit and enforce immutable configuration controls where possible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
EUVD-2026-29146
GHSA-9fc9-8v4x-f5cp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB