Openclaw
CVE-2026-41330
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local shell access as limited user
-
DeliverySet malicious environment variables (TLS_REJECT=0, SSL_VERIFY=OFF, PROXY override)
-
ExploitTrigger OpenClaw host exec policy execution
-
ExecutionSubprocess inherits unsafe environment
-
PersistBypass TLS verification or proxy control
-
ImpactIntercept or redirect traffic
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires the following specific, concrete conditions: (1) The attacker must already be authenticated to the system as a user with limited privileges (PR:L in CVSS vector), meaning they have a valid local account or have already obtained initial access; (2) The attacker must have the ability to set or modify environment variables in the context where OpenClaw's host exec policy is executed-this is typical for local shell access but may be restricted in containerized or sandboxed deployments; (3) The host exec policy feature must be enabled and in active use (non-default configurations may have this disabled entirely); (4) The vulnerability is triggered only when OpenClaw spawns a subprocess or external command via its host exec policy (AT:P indicates process interaction is required, meaning the attacker must indirectly cause OpenClaw to execute a command or must have timing control). The vulnerability does NOT affect remote, unauthenticated attackers-it is strictly a local privilege boundary bypass for authenticated users trying to escalate control over subprocess security policies. |
| Impact | This vulnerability presents LOW real-world risk despite its security-control-bypass nature, based on multiple converging signals: CVSS 2.0 score reflects the severe attack vector restrictions (local-only, limited scope impact); the CVSS vector indicates attack via local access (AV:L), low attack complexity (AC:L), but requires prior authentication (PR:L) and process interaction (AT:P), all of which significantly reduce exploitation probability; EPSS score is not provided but the confluence of authentication requirement, local-access-only vector, and process interaction suggests genuine friction for attackers; no KEV status or active exploitation reported; no public exploit code identified. The vulnerability is real and should be patched, but it is NOT a remote code execution or immediate lateral movement risk. Defenders should prioritize this below network-accessible vulnerabilities and those with lower authentication barriers. The authentication requirement (PR:L) is the primary limiting factor-this requires an attacker already authenticated to the system, narrowing the threat model significantly. |
| Exploit ScenarioDerived | An authenticated local user with limited privileges obtains shell access to a system running OpenClaw. The attacker sets environment variables such as NODE_TLS_REJECT_UNAUTHORIZED=0 or GIT_SSL_NO_VERIFY=1 before triggering an OpenClaw host exec policy execution. When OpenClaw launches an external command or subprocess, it inherits the malicious environment variables, causing the subprocess to skip TLS verification or proxy enforcement. The attacker can then perform a man-in-the-middle attack, redirect Docker operations, or clone a Git repository over an unencrypted connection from a malicious server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
OpenClaw before version 2026.3.31 fails to sanitize environment variables in its host exec policy, allowing authenticated local attackers to override proxy, TLS, Docker, and Git TLS security controls. An attacker with local access and limited privileges can bypass intended security restrictions by injecting malicious environment variables, potentially disabling certificate verification or redirecting traffic through unauthorized proxies. No public exploit code has been identified, and the vulnerability requires process interaction (AT:P) to trigger.
RemediationAI
Upgrade OpenClaw to version 2026.3.31 or later, which includes fixes to properly sanitize and validate environment variables in the host exec policy. This patch ensures that proxy, TLS, Docker, and Git TLS controls cannot be bypassed via environment variable injection. If immediate upgrading is not feasible, restrict local access to OpenClaw to trusted users only and implement file system monitoring on configuration and process-related directories to detect unauthorized environment variable modifications. Additionally, apply strict access controls on accounts with OpenClaw privileges (PR:L users) and consider disabling or restricting the host exec policy feature if not required for operational use. Refer to the GitHub security advisory (GHSA-9gp8-hjxr-6f34) and VulnCheck advisory for detailed patch notes and deployment guidance.
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's host exec policy is designed to enforce security controls over external command execution, including proxy configuration, Transport Layer Security (TLS) verification for HTTPS connections, Docker container restrictions, and Git repository TLS enforcement. The vulnerability stems from CWE-453 (Insecure Resource Validation), where environment variables passed to executed processes are not properly validated or sanitized. This allows attackers to override critical security-related environment variables such as HTTP_PROXY, HTTPS_PROXY, NO_PROXY, NODE_TLS_REJECT_UNAUTHORIZED, DOCKER_HOST, and GIT_SSL_NO_VERIFY. The vulnerability affects OpenClaw versions prior to 2026.3.31, as identified by CPE references to the product.
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:L/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.3.31 contains an environment variable override vulnerability in host exec policy that fails to properly enforce proxy, TLS, Docker, and Git TLS controls. Attackers can bypass security controls by overriding environment variables to circumvent proxy settings, TLS verification, Docker restrictions, and Git TLS enforcement.
Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.31.
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.
Affected Products (CPE)CVE.org
Related Vulnerabilities in OpenClaw Multiple Authorization and Security Flaws
View all 14Auth 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
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
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB