OpenClaw before 2026.5.12 contains a missing authorization flaw (CWE-862) in its shell inline-command parser: authenticated operators can craft requests using specific inline-command forms that route through a parser code path lacking the expected allowlist decision, executing unapproved shell commands without the required approval prompt. With a CVSS of 8.1 (High), network-accessible, low-complexity exploitation requiring only low-privilege credentials and zero user interaction, this is particularly dangerous in any multi-operator or SaaS-hosted OpenClaw deployment — a malicious or compromised operator can escape the intended command sandbox entirely and reach the underlying host. There is no public exploit or active KEV listing yet, but the trivial attack complexity means the window before weaponized exploitation narrows quickly post-disclosure. Patch to OpenClaw 2026.5.12 or later immediately; if patching is delayed, revoke shell tool access for all but the most trusted operators and enable full command audit logging.
What is the risk?
High risk. CVSS 8.1 with network vector, low complexity, and low privilege requirement eliminates most defensive barriers. The allowlist bypass directly undermines the core security control designed to contain agent-executed shell commands — the sandbox assumption that operators can only run approved commands is broken by design flaw, not brute force. In AI agent deployments where OpenClaw orchestrates actions on behalf of users or automates workflows, this flaw enables lateral movement, data exfiltration, and infrastructure compromise. No EPSS data is available yet given the recent publication date, but the trivial exploitation path warrants treating this as high-urgency regardless.
How does the attack unfold?
What systems are affected?
How severe is it?
What is the attack surface?
What should I do?
6 steps-
Patch immediately: upgrade OpenClaw to 2026.5.12 or later — this is the only complete fix.
-
Audit operator access: identify all users with operator-level credentials and revoke unnecessary access pending patching.
-
Workaround: disable shell command tools in OpenClaw configuration entirely if shell automation is not required by your use case.
-
Detection: review shell command execution logs for inline-command syntax patterns (backtick expansion, $() substitution) that may indicate exploitation attempts; alert on commands lacking corresponding approval events.
-
Network segmentation: ensure OpenClaw instances are not directly internet-facing — place behind authenticated proxies or VPNs to raise the attacker's access bar.
-
Least privilege: confirm the OS user running OpenClaw has the minimum permissions needed; avoid running as root.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-53866?
OpenClaw before 2026.5.12 contains a missing authorization flaw (CWE-862) in its shell inline-command parser: authenticated operators can craft requests using specific inline-command forms that route through a parser code path lacking the expected allowlist decision, executing unapproved shell commands without the required approval prompt. With a CVSS of 8.1 (High), network-accessible, low-complexity exploitation requiring only low-privilege credentials and zero user interaction, this is particularly dangerous in any multi-operator or SaaS-hosted OpenClaw deployment — a malicious or compromised operator can escape the intended command sandbox entirely and reach the underlying host. There is no public exploit or active KEV listing yet, but the trivial attack complexity means the window before weaponized exploitation narrows quickly post-disclosure. Patch to OpenClaw 2026.5.12 or later immediately; if patching is delayed, revoke shell tool access for all but the most trusted operators and enable full command audit logging.
Is CVE-2026-53866 actively exploited?
No confirmed active exploitation of CVE-2026-53866 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-53866?
1. Patch immediately: upgrade OpenClaw to 2026.5.12 or later — this is the only complete fix. 2. Audit operator access: identify all users with operator-level credentials and revoke unnecessary access pending patching. 3. Workaround: disable shell command tools in OpenClaw configuration entirely if shell automation is not required by your use case. 4. Detection: review shell command execution logs for inline-command syntax patterns (backtick expansion, $() substitution) that may indicate exploitation attempts; alert on commands lacking corresponding approval events. 5. Network segmentation: ensure OpenClaw instances are not directly internet-facing — place behind authenticated proxies or VPNs to raise the attacker's access bar. 6. Least privilege: confirm the OS user running OpenClaw has the minimum permissions needed; avoid running as root.
What systems are affected by CVE-2026-53866?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, agentic pipelines, AI automation platforms, multi-operator AI deployments.
What is the CVSS score for CVE-2026-53866?
CVE-2026-53866 has a CVSS v3.1 base score of 8.1 (HIGH). The EPSS exploitation probability is 0.27%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0050 Command and Scripting Interpreter AML.T0053 AI Agent Tool Invocation AML.T0107 Exploitation for Defense Evasion AML.T0108 AI Agent Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw before 2026.5.12 contains an allowlist bypass vulnerability in shell inline-command parsing that allows authenticated operators to execute unapproved commands. A command request using shell inline-command forms could route through a parser case missing the expected allowlist decision, enabling shell content execution without intended approval prompts.
Exploitation Scenario
An attacker with low-privilege operator credentials on an OpenClaw instance submits a shell command request using an inline-command substitution form — for example wrapping a command in backticks or $() syntax — that the parser routes through a code branch missing the allowlist decision logic. The command executes on the underlying system without triggering the expected approval prompt. In a realistic AI agent context the attacker reads environment variables to extract API keys and cloud credentials accessible to the agent process, then exfiltrates those via an outbound shell command, or modifies the agent's configuration files to persist a backdoor that survives restarts — all while the audit log shows a seemingly normal operator session.
Weaknesses (CWE)
CWE-184 Incomplete List of Disallowed Inputs
Primary
CWE-862 Missing Authorization
Primary
CWE-862 Missing Authorization CWE-184 — Incomplete List of Disallowed Inputs: The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.
- [Implementation] Do not rely exclusively on detecting disallowed inputs. There are too many variants to encode a character, especially when different environments are used, so there is a high likelihood of missing some variants. Only use detection of disallowed inputs as a mechanism for detecting suspicious activity. Ensure that you are using other protection mechanisms that only identify "good" input - such as lists of allowed inputs - and ensure that you are properly encoding your outputs.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw