CVE-2026-32023: OpenClaw: approval gating bypass enables shell execution
HIGHOpenClaw's system.run allowlist mode contains a logic flaw where chaining transparent dispatch wrappers — such as /usr/bin/env followed by /bin/sh -c — suppresses shell-wrapper detection, allowing arbitrary shell commands to execute without triggering the expected approval prompt in ask=on-miss configurations. Any low-privileged authenticated user can exploit this with no user interaction, directly undermining the agentic permission boundary that security teams rely on to contain AI agent actions. At the 81st EPSS percentile, this CVE sits among the top tier for exploitation likelihood despite no current KEV listing or public exploit, and AIID #1368 confirms that OpenClaw's ecosystem is already an active target for credential theft via malicious skills. Patch to OpenClaw 2026.2.24 immediately; if patching is delayed, switch to ask=always mode or disable system.run entirely — on-miss gating should not be treated as a security boundary.
What is the risk?
HIGH risk for organizations deploying OpenClaw-powered AI agents in security-sensitive environments. CVSS 7.1 with AV:N/AC:L/PR:L/UI:N means network-reachable exploitation by any authenticated user with minimal skill. The core risk is architectural: teams that built containment models around OpenClaw's approval gating have a false security assumption. EPSS at 81st percentile signals elevated attacker interest. Blast radius is bounded by the 4 known downstream dependents and the requirement for prior authentication, but the integrity impact is HIGH — successful exploitation gives shell-level command execution. Not in CISA KEV and no public exploit reduces immediate urgency slightly, but the novelty of the dispatch-wrapper evasion technique and the active threat landscape around OpenClaw (AIID #1368) elevate operational risk.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | pip | — | No patch |
Do you use OpenClaw? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
PATCH
Upgrade to OpenClaw >= 2026.2.24 (commit 57c9a18 resolves the depth-cap mismatch in dispatch wrapper detection).
-
WORKAROUND (if patching is delayed): Change configuration from ask=on-miss to ask=always — this forces approval prompts regardless of allowlist status, preventing silent bypass.
-
DISABLE
If shell access via system.run is not operationally required, disable the feature entirely in OpenClaw configuration.
-
DETECT
Audit agent execution logs for command chains containing /usr/bin/env followed by /bin/sh, /bash, or /dash — this pattern in logs prior to patching indicates exploitation attempts.
-
SCOPE
Review which agent deployments run with elevated OS-level permissions and prioritize those for immediate patching — agents with access to credential stores, network interfaces, or sensitive filesystems face highest post-exploitation impact.
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-32023?
OpenClaw's system.run allowlist mode contains a logic flaw where chaining transparent dispatch wrappers — such as /usr/bin/env followed by /bin/sh -c — suppresses shell-wrapper detection, allowing arbitrary shell commands to execute without triggering the expected approval prompt in ask=on-miss configurations. Any low-privileged authenticated user can exploit this with no user interaction, directly undermining the agentic permission boundary that security teams rely on to contain AI agent actions. At the 81st EPSS percentile, this CVE sits among the top tier for exploitation likelihood despite no current KEV listing or public exploit, and AIID #1368 confirms that OpenClaw's ecosystem is already an active target for credential theft via malicious skills. Patch to OpenClaw 2026.2.24 immediately; if patching is delayed, switch to ask=always mode or disable system.run entirely — on-miss gating should not be treated as a security boundary.
Is CVE-2026-32023 actively exploited?
No confirmed active exploitation of CVE-2026-32023 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-32023?
1. PATCH: Upgrade to OpenClaw >= 2026.2.24 (commit 57c9a18 resolves the depth-cap mismatch in dispatch wrapper detection). 2. WORKAROUND (if patching is delayed): Change configuration from ask=on-miss to ask=always — this forces approval prompts regardless of allowlist status, preventing silent bypass. 3. DISABLE: If shell access via system.run is not operationally required, disable the feature entirely in OpenClaw configuration. 4. DETECT: Audit agent execution logs for command chains containing /usr/bin/env followed by /bin/sh, /bash, or /dash — this pattern in logs prior to patching indicates exploitation attempts. 5. SCOPE: Review which agent deployments run with elevated OS-level permissions and prioritize those for immediate patching — agents with access to credential stores, network interfaces, or sensitive filesystems face highest post-exploitation impact.
What systems are affected by CVE-2026-32023?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, agentic pipelines with tool approval controls, AI-powered developer assistants, SecOps automation agents, CI/CD pipeline AI agents.
What is the CVSS score for CVE-2026-32023?
CVE-2026-32023 has a CVSS v3.1 base score of 7.1 (HIGH). The EPSS exploitation probability is 0.28%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0050 Command and Scripting Interpreter AML.T0053 AI Agent Tool Invocation AML.T0107 Exploitation for Defense Evasion AML.T0112.000 Local AI Agent Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions prior to 2026.2.24 contain an approval gating bypass vulnerability in system.run allowlist mode where nested transparent dispatch wrappers can suppress shell-wrapper detection. Attackers can exploit this by chaining multiple dispatch wrappers like /usr/bin/env to execute /bin/sh -c commands without triggering the expected approval prompt in allowlist plus ask=on-miss configurations.
Exploitation Scenario
An attacker with a low-privilege account on a platform running an OpenClaw-powered AI agent (e.g., a developer assistant or SecOps automation tool) crafts a tool invocation that chains /usr/bin/env as the outer dispatcher with /bin/sh -c as the nested executor, appending the desired shell payload. When submitted to system.run, OpenClaw's shell-wrapper detection inspects only the outer /usr/bin/env invocation — which matches an allowlist entry — and fails to recurse into the nested dispatch chain. The depth-cap mismatch causes the detection to terminate early, suppressing the approval prompt. The shell command executes on the host without an approval event being logged, giving the attacker code execution at the agent's OS privilege level. In environments where OpenClaw agents run with access to credential stores or cloud provider tokens (common in CI/CD and SOC automation), this single step can pivot to full environment compromise — a path consistent with the credential exfiltration pattern documented in AIID #1368.
Weaknesses (CWE)
CWE-863 — Incorrect Authorization: The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
- [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L 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