Openclaw
CVE-2026-32032
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSet malicious SHELL environment variable
-
ExploitOpenClaw process reads unvalidated SHELL path
-
ImpactExecute arbitrary commands with OpenClaw privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Exploitation Conditions | OpenClaw versions prior to 2026.2.22. Attacker requires low-privilege local user access to the host system where OpenClaw runs. Attacker must inject a malicious SHELL environment variable before OpenClaw process executes, triggering shell environment fallback code path that trusts the unvalidated SHELL variable. |
| Impact | Despite the CVSS score of 7.0 (High), the real-world risk appears moderate to low based on multiple factors. The CVSS vector shows this requires local access (AV:L) with high attack complexity (AC:H) and low privileges (PR:L), making remote exploitation impossible. The EPSS score of 0.00044 indicates extremely low exploitation probability in the wild. The vulnerability is not listed in CISA's KEV catalog, suggesting no known active exploitation. While the technical impact is high (C:H/I:H/A:H) if successfully exploited, the combination of local-only access, high complexity, and no evidence of real-world attacks suggests this is a lower priority than the CVSS score alone might indicate. |
| Exploit ScenarioDerived | An attacker with local access to a system running vulnerable OpenClaw could set the SHELL environment variable to point to a malicious executable (e.g., export SHELL=/tmp/evil_script). When OpenClaw attempts to spawn a shell for certain operations, it would execute the attacker's code instead of a legitimate shell, running with the same privileges as the OpenClaw process. The high attack complexity suggests specific conditions must be met for successful exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
OpenClaw versions before 2026.2.22 allow local attackers with environment access to execute arbitrary commands by manipulating the SHELL environment variable, which is insufficiently validated during shell fallback operations. An attacker can leverage this to run malicious code with the privileges of the OpenClaw process. No patch is currently available for this vulnerability.
Earlier versions of this analysis (1)
A vulnerability in OpenClaw allows local attackers to execute arbitrary shell commands by manipulating the SHELL environment variable, which the application trusts without validation. OpenClaw versions prior to 2026.2.22 are affected, enabling attackers with local access to run commands with the same privileges as the OpenClaw process. No evidence of active exploitation exists (not in KEV), and with an EPSS score of 0.00044, real-world exploitation probability is currently very low.
RemediationAI
Upgrade OpenClaw to version 2026.2.22 or later, which contains the fix in commit 25e89cc86338ef475d26be043aa541dfdb95e52a. The patch properly validates the SHELL environment variable before use. As a temporary workaround until patching is possible, ensure the SHELL environment variable points only to legitimate shell binaries and restrict local access to systems running OpenClaw. Review the official security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-f8mp-vj46-cq8v for additional details.
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 open-source reimplementation of the classic Claw game that contains a shell environment fallback mechanism. The vulnerability stems from CWE-426 (Untrusted Search Path), where the application uses the SHELL environment variable from the host system without proper validation or sanitization. When OpenClaw needs to execute shell operations, it relies on this potentially attacker-controlled path, allowing code injection through a malicious SHELL variable that points to an attacker's executable instead of a legitimate shell interpreter.
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:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw versions prior to 2026.2.22 contain an arbitrary shell execution vulnerability in shell environment fallback that trusts the unvalidated SHELL path from the host environment. An attacker with local environment access can inject a malicious SHELL variable to execute arbitrary commands with the privileges of the OpenClaw process.
Executive ViewAI
OpenClaw versions before 2026.2.22 allow attackers with local system access to execute arbitrary commands using the application's privileges through environment variable manipulation. This affects any organization running vulnerable OpenClaw instances and could enable privilege escalation, data theft, or system compromise by insider threats or compromised accounts.
Restrict SHELL environment variable permissions using OS-level controls (SELinux, AppArmor, or Windows SDDL); limit local system access to OpenClaw service accounts; implement process isolation and containerization with restricted environment variables; monitor SHELL variable modifications; disable OpenClaw if operated in high-trust environments where local access cannot be adequately restricted.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Affected Products (CPE)CVE.org
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
GHSA-f8mp-vj46-cq8v
NVD
CVE.org
EPSS
VulDB
Exploit-DB