Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious workspace config
-
DeliveryDeliver to target user
-
ExploitUser loads workspace in OpenClaw CLI
-
ExecutionBackend runner spawns process with injected environment variables
-
ImpactExecute arbitrary code or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
|
| Exploitation Conditions | Attacker must deliver a malicious OpenClaw workspace configuration file to the target system AND convince a user to load it via the CLI backend runner (UI:P requirement in CVSS vector). No authentication required for local access (PR:N) but attacker needs ability to write or deliver files to locations accessible by the victim user. Exploitation specifically targets the CLI backend runner component when processing workspace configs - does not affect OpenClaw deployments that exclusively use pre-validated internal workspace configurations or run without user-controlled workspace files. Limiting factor: social engineering barrier is significant, requiring user to explicitly load external workspace config, which reduces likelihood compared to fully automated remote exploits. |
| Impact | Real-world risk is moderate-high for targeted attacks but low for mass exploitation. CVSS 8.5 (High) reflects severe technical impact: complete compromise of confidentiality, integrity, and availability (VC:H/VI:H/VA:H) with no impact to subsequent systems (SC:N/SI:N/SA:N). However, the attack vector is local (AV:L) requiring the attacker to deliver a malicious workspace config file and convince a user to load it (UI:P), significantly limiting attack surface compared to remote network exploitation. The low attack complexity (AC:L) means once the malicious config is loaded, exploitation is straightforward. No EPSS score provided, but absence from CISA KEV and lack of public POC suggests exploitation is not yet widespread. VulnCheck identified this vulnerability, and vendor GitHub advisory with patch commit indicates responsible disclosure. SSVC decision factors: Exploitation status is 'none' (no public POC/KEV), Automatable is 'no' (requires social engineering to deliver malicious workspace file), Technical Impact is 'total' (arbitrary code execution). Priority is medium: patch immediately in high-value environments where users regularly import external workspace configs, but not an internet-scale emergency. |
| Exploit ScenarioDerived | An attacker crafts a malicious OpenClaw workspace configuration file containing injected environment variables (e.g., LD_PRELOAD pointing to attacker-controlled shared library, or PATH manipulation to execute trojanized binaries). The attacker socially engineers a target user to import this workspace config via phishing email, shared repository, or compromised collaboration platform. When the victim loads the malicious workspace in OpenClaw CLI and triggers backend runner operations, the injected environment variables are passed to spawned subprocesses, loading the attacker's malicious library or executing arbitrary code with the user's privileges. The attacker achieves code execution, establishes persistence, or exfiltrates sensitive data accessible to the OpenClaw process. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
Environment variable injection in OpenClaw's CLI backend runner enables local attackers to achieve arbitrary code execution or exfiltrate sensitive data by manipulating workspace configuration files. Attackers with the ability to supply malicious workspace configs can inject environment variables into backend processes during spawning, exploiting CWE-15 (external control of system or configuration setting). Vendor patch available via GitHub commit c2fb7f1. CVSS 8.5 reflects high impact across confidentiality, integrity, and availability, though exploitation requires local access and user interaction to load the malicious workspace config. No evidence of active exploitation (not in CISA KEV) or public proof-of-concept at time of analysis.
RemediationAI
Upgrade to OpenClaw version 2026.3.24 or later, which includes the fix committed in GitHub commit c2fb7f1948c3226732a630256b5179a60664ec24 (https://github.com/openclaw/openclaw/commit/c2fb7f1948c3226732a630256b5179a60664ec24). Review the vendor security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-vfw7-6rhc-6xxg for upgrade instructions and additional context. If immediate patching is not feasible, implement compensating controls: restrict workspace configuration files to trusted internal sources only, implement file integrity monitoring on workspace config directories, and educate users to never load workspace configs from external or untrusted parties. Consider running OpenClaw CLI processes in sandboxed environments (containers, VMs) with restricted environment variable inheritance to limit blast radius of potential exploitation. Trade-off: sandboxing may break legitimate workflows that depend on specific environment variables; test thoroughly before production deployment. Review audit logs for unexpected workspace config loads or backend process spawns with anomalous environment variables.
Affected VersionsENISA
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
This vulnerability exploits CWE-15 (External Control of System or Configuration Setting) in OpenClaw's command-line interface backend runner. The affected component (cpe:2.3:a:openclaw:openclaw) fails to sanitize or validate environment variable inputs derived from workspace configuration files before spawning backend processes. Environment variable injection is a class of attack where untrusted input controls process environment variables, which can then influence program behavior, library loading paths (LD_PRELOAD, PATH manipulation), or configuration settings. In CLI tools that spawn subprocesses, injected environment variables can alter execution flow, load malicious shared libraries, or leak credentials through modified logging/debugging variables. The CVSS 4.0 vector indicates local attack vector (AV:L) with low complexity (AC:L) but requires user interaction (UI:P) to load the crafted workspace configuration, suggesting the victim must explicitly open or import a malicious workspace file.
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:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
OpenClaw before 2026.3.24 contains an environment variable injection vulnerability in the CLI backend runner that allows attackers to inject malicious environment variables through workspace configuration. Attackers can craft malicious workspace configs to inject arbitrary environment variables into the backend process spawning, enabling code execution or sensitive data exposure.
Blast Radius
ecosystem impact- 3 npm packages depend on openclaw (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.24.
Executive ViewAI
OpenClaw's CLI backend runner contains an environment variable injection vulnerability (CVE-2026-41384, CVSS 8.5) that allows local attackers to execute arbitrary code or steal sensitive data through malicious workspace configuration files. This poses a significant risk to development teams and CI/CD pipelines using OpenClaw, as compromised or untrusted workspace configs could lead to credential theft, data exfiltration, or pipeline compromise. Immediate patching is critical for any organization using OpenClaw in shared or supply-chain environments.
Apply vendor patch. If immediate patching is not feasible: restrict workspace config sources to trusted, version-controlled repositories only; implement file integrity monitoring on workspace configuration files; run OpenClaw processes with minimal privilege and isolated environment variables; disable or restrict untrusted user ability to supply custom workspace configs; audit and baseline all environment variables passed to backend processes.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-26093
GHSA-vfw7-6rhc-6xxg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB