Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain control over agent tool calls (PR:L)
-
DeliveryInvoke gateway config.patch with tools.exec.ask=off
-
ExploitSilently disable exec approval guardrail
-
ExecutionExecute unauthorized commands without consent
-
ImpactFull technical impact on host operations
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 the ability to make the OpenClaw agent invoke the gateway tool's config.patch or config.apply action with a raw JSON5 body that sets tools.exec.ask (e.g. to 'off') or tools.exec.security (e.g. to 'full'), or the legacy tools.bash.security alias that maps to it - this is the concrete prerequisite drawn from the fix's protected-path list. The attacker therefore needs an agent that is already running and controllable (PR:L: some privilege/influence over the agent's actions, such as prompt injection or a malicious task), and the target must be on a vulnerable version (<=2026.3.24, i.e. before 2026.3.28). Limiting factors: it does not work against patched builds, it depends on the gateway config-mutation actions being reachable by the agent, and it presupposes the attacker can direct the agent's tool calls rather than being a purely external unauthenticated party. |
| Impact | The signals are mixed and point to a real-but-not-urgent priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 8.7) describes a low-complexity network-reachable attack that still requires some privilege (PR:L) - consistent with an attacker who can already influence the agent's tool calls rather than a fully unauthenticated outsider. SSVC reinforces this nuance: Technical Impact is 'total' (loss of the consent guardrail hands over full command execution) but Exploitation is 'none' (no observed exploitation) and Automatable is 'no', meaning it is not trivially wormable. EPSS agrees, at just 0.11% (28th percentile). This vulnerability is NOT in CISA KEV and no public exploit was identified, so it should be treated as a high-severity design/authorization flaw to patch promptly, not an active-exploitation emergency. One consistency note: exploitation depends on the agent being manipulable (e.g. via prompt injection or a malicious task), which the CVSS vector abstracts into PR:L rather than UI/AT metrics - verify against your deployment's trust model. |
| Exploit ScenarioDerived | An attacker who can steer the OpenClaw agent - for example through indirect prompt injection in content the agent processes - instructs it to call the gateway config.patch action with a payload such as '{ tools: { exec: { ask: "off" } } }'. On a pre-2026.3.28 build the patch is accepted, silently disabling the execution-approval prompt, after which the agent runs subsequent commands without asking the user. No public POC is identified at time of analysis, though the fix commit's test cases demonstrate the exact malicious payloads. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Authorization bypass in OpenClaw before 2026.3.28 lets an LLM agent silently disable execution-approval controls by writing to protected configuration paths (tools.exec.ask and tools.exec.security) through the gateway tool's config.patch and config.apply actions. Once the exec-approval guardrail is turned off, the agent can run commands without the user consent prompt that normally gates them, effectively self-escalating its own operational authority. EPSS is low (0.11%, 28th percentile) and there is no public exploit identified at time of analysis, but the technical impact is rated total by CISA's SSVC framework and a vendor patch is available.
RemediationAI
Vendor-released patch: upgrade the openclaw npm package to 2026.3.28 or later (2026.3.31 is the latest published release), which enforces the PROTECTED_GATEWAY_CONFIG_PATHS check as delivered in fix commit 76411b2afc4ae721e36c12e0ea24fd23e2fed61e. Follow the advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-v3qc-wrwx-j3pw. If you cannot upgrade immediately, the actionable compensating control is to prevent agents from mutating exec-approval settings: restrict or disable the gateway config.patch and config.apply actions for agent-facing tool calls, and treat tools.exec.ask and tools.exec.security (plus the legacy tools.bash alias) as read-only in your deployment; the trade-off is that legitimate agent-driven config changes will also be blocked. Additionally, keep tools.exec.security on 'allowlist' rather than 'full' and monitor for config mutations touching those keys, accepting that this adds operational friction to any workflow that legitimately reconfigures execution policy.
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 agentic runtime (published on npm as the openclaw package) in which LLM agents call gateway tools to read and mutate their own runtime configuration. Command execution is guarded by exec-approval settings - specifically tools.exec.ask (when to prompt, e.g. 'on-miss') and tools.exec.security (e.g. 'allowlist' vs 'full'). The root cause is CWE-862 (Missing Authorization): the config.patch and config.apply gateway actions applied a JSON5 merge-patch to the live config without treating these approval settings as protected, so an agent could overwrite them the same way it edits any benign key. The commit diff (76411b2) introduces a PROTECTED_GATEWAY_CONFIG_PATHS allowlist ['tools.exec.ask','tools.exec.security'], fetches the current config via config.get, and rejects any patch/apply that would alter those paths - including via the legacy tools.bash alias that maps onto tools.exec.security, and including config.apply calls that omit the protected settings entirely.
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:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Agent must already have privileged tool access (PR:L) and low complexity (AC:L); disabling the consent boundary to gain command execution crosses a security scope (S:C) with high C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
OpenClaw before 2026.3.28 contains an agentic consent bypass vulnerability allowing LLM agents to silently disable execution approval via config.patch parameter. Remote attackers can exploit this to bypass security controls and execute unauthorized operations without user consent.
Blast Radius
ecosystem impact- 3 npm packages depend on openclaw (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.28.
Executive ViewAI
OpenClaw versions before 2026.3.28 contain an authorization bypass allowing deployed LLM agents to disable critical execution-approval controls without user consent. No public exploit identified at time of analysis, but the technical impact is severe-agents can escalate themselves to run arbitrary commands without required human approval, creating uncontrolled AI execution risk. Organizations using OpenClaw face potential compromise of operational safety controls and uncontrolled system actions.
Apply vendor patch: update OpenClaw to version 2026.3.28 or later.
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
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-25333
GHSA-7f25-vhj7-mxrc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB