CVE-2026-32052: OpenClaw: command injection via shell-wrapper argv bypass
MEDIUMCVE-2026-32052 is a command injection flaw in OpenClaw's system.run shell wrapper that allows an attacker to embed hidden commands as trailing positional argv arguments — arguments that execute silently while the displayed approval prompt shows entirely different, benign-looking text. This deceptive bypass is especially dangerous in AI agent deployments, where operators rely on displayed tool-call context to authorize actions, effectively weaponizing the human-in-the-loop as part of the exploit chain. Although CVSS is a moderate 6.4 and CISA KEV has not flagged active exploitation, EPSS places this in the top 45% for likely exploitation, and OpenClaw's own incident history — AIID #1368 documented credential theft via malicious skills in the same ecosystem earlier this year — confirms this package is already a high-value target. Upgrade to OpenClaw ≥ 2026.2.24 immediately; if patching is blocked, disable or restrict the system.run executor and audit process-spawn logs from OpenClaw worker processes.
What is the risk?
Medium severity by CVSS (6.4), but contextually elevated for AI agent environments. The High attack complexity and required user interaction (AV:N/AC:H/PR:L/UI:R) suppress the base score, yet the attack specifically abuses the approval workflow — the user interaction is the mechanism of deception, not a genuine mitigation. The I:H/A:H impact with no confidentiality component suggests the primary risk is integrity corruption and availability disruption. With 396 CVEs recorded in the same package, OpenClaw's overall security posture is poor. Any deployment where OpenClaw agents hold shell access or elevated host privileges should treat this as High-priority regardless of the CVSS medium rating.
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 OpenClaw to ≥ 2026.2.24 (patches in commits 0f0a680 and 55cf925 per vendor advisory GHSA-6rcp-vxwf-3mfp).
-
Workaround: If patching is blocked, disable the system.run tool entirely in OpenClaw agent configurations, or restrict it to a server-side allowlist of pre-approved command patterns with independent validation.
-
Least privilege: Ensure OpenClaw processes run under restricted OS accounts without sudo or elevated shell access.
-
Detection: Monitor for unexpected child-process spawning from OpenClaw parent processes; alert on shell invocations where the executed command string does not match the user-visible approval text.
-
Skill hygiene: Audit third-party skill sources and reject skills from unverified publishers, particularly those invoking system.run.
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-32052?
CVE-2026-32052 is a command injection flaw in OpenClaw's system.run shell wrapper that allows an attacker to embed hidden commands as trailing positional argv arguments — arguments that execute silently while the displayed approval prompt shows entirely different, benign-looking text. This deceptive bypass is especially dangerous in AI agent deployments, where operators rely on displayed tool-call context to authorize actions, effectively weaponizing the human-in-the-loop as part of the exploit chain. Although CVSS is a moderate 6.4 and CISA KEV has not flagged active exploitation, EPSS places this in the top 45% for likely exploitation, and OpenClaw's own incident history — AIID #1368 documented credential theft via malicious skills in the same ecosystem earlier this year — confirms this package is already a high-value target. Upgrade to OpenClaw ≥ 2026.2.24 immediately; if patching is blocked, disable or restrict the system.run executor and audit process-spawn logs from OpenClaw worker processes.
Is CVE-2026-32052 actively exploited?
No confirmed active exploitation of CVE-2026-32052 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-32052?
1. Patch: Upgrade OpenClaw to ≥ 2026.2.24 (patches in commits 0f0a680 and 55cf925 per vendor advisory GHSA-6rcp-vxwf-3mfp). 2. Workaround: If patching is blocked, disable the system.run tool entirely in OpenClaw agent configurations, or restrict it to a server-side allowlist of pre-approved command patterns with independent validation. 3. Least privilege: Ensure OpenClaw processes run under restricted OS accounts without sudo or elevated shell access. 4. Detection: Monitor for unexpected child-process spawning from OpenClaw parent processes; alert on shell invocations where the executed command string does not match the user-visible approval text. 5. Skill hygiene: Audit third-party skill sources and reject skills from unverified publishers, particularly those invoking system.run.
What systems are affected by CVE-2026-32052?
This vulnerability affects the following AI/ML architecture patterns: AI agent frameworks, agentic pipelines with shell tool access, multi-agent orchestration systems using OpenClaw, local workstation AI assistants with host access.
What is the CVSS score for CVE-2026-32052?
CVE-2026-32052 has a CVSS v3.1 base score of 6.4 (MEDIUM). The EPSS exploitation probability is 0.91%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.005 AI Agent Tool AML.T0011.002 Poisoned AI Agent Tool AML.T0050 Command and Scripting Interpreter AML.T0053 AI Agent Tool Invocation AML.T0074 Masquerading Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions prior to 2026.2.24 contain a command injection vulnerability in the system.run shell-wrapper that allows attackers to execute hidden commands by injecting positional argv carriers after inline shell payloads. Attackers can craft misleading approval text while executing arbitrary commands through trailing positional arguments that bypass display context validation.
Exploitation Scenario
An adversary publishes a malicious skill to OpenClaw's community hub — mirroring the AIID #1368 pattern — embedding a crafted system.run invocation that displays 'checking network connectivity' in the approval UI while trailing positional argv arguments silently pass a reverse shell command to the shell interpreter. A developer using the skill inside an agentic pipeline approves the benign-looking action. The hidden command executes with the agent's process privileges, exfiltrating API keys, SSH keys, or model artifacts from the host filesystem, or establishing a persistent backdoor. Because the approval log records only the displayed text, forensic review shows no anomaly.
Weaknesses (CWE)
CWE-436 — Interpretation Conflict: Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H References
- github.com/openclaw/openclaw/commit/0f0a680d3df81739ea5088a2f88e65f938b7936b patch
- github.com/openclaw/openclaw/commit/55cf92578d266987e390c4bf688196af98eac748 patch
- github.com/openclaw/openclaw/security/advisories/GHSA-6rcp-vxwf-3mfp vendor-advisory
- vulncheck.com/advisories/openclaw-hidden-command-execution-via-shell-wrapper-positional-argv-carriers third-party-advisory
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