Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to workspace env source
-
DeliveryInject Node.js control variable (e.g., NODE_OPTIONS)
-
ExploitSanitizer fails to strip variable
-
ExecutionOpenClaw spawns Node.js child
-
PersistMalicious module preloaded or coverage path redirected
-
ImpactCode execution or arbitrary file overwrite under OpenClaw user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Attacker must control at least one of three specific OpenClaw input channels: workspace .env files, tool environment override files, or skill environment blocks - all of which require pre-existing write access to the OpenClaw workspace or configuration surface. Exploitation further requires OpenClaw to subsequently spawn a Node.js child process whose execution honors the smuggled control variables. Limiting factors: the CVSS vector requires PR:L (authenticated) and AT:P (a specific attack requirement is present), so default-configured single-user installs without writable shared env sources are not exposed; the AV:N rating in the vendor vector is in tension with the description's file-write prerequisites and should be confirmed with the vendor. |
| Impact | The CVSS 4.0 score of 7.6 is driven by VC:H/VI:H with PR:L and AT:P, meaning the vendor treats this as authenticated abuse with specific attack requirements (control over an env source). No EPSS, KEV, or POC data was supplied, so this should be read as a credible but not-yet-weaponized issue. The CVSS 4.0 vector lists AV:N, yet the description's prerequisites (writing workspace .env files, tool/skill environment overrides) are inherently local-or-supply-chain in nature - defenders should treat AV:N skeptically and verify with the vendor whether a purely network-borne path exists. Real-world risk is highest in shared developer workspaces, multi-tenant CI runners, and any deployment where lower-trust users can author skill or tool environment blocks consumed by OpenClaw. |
| Exploit ScenarioDerived | A lower-privileged developer or skill author on a shared OpenClaw workspace commits a .env file or skill environment block that defines NODE_OPTIONS pointing at a malicious --require module stored elsewhere in the repository. When OpenClaw next spawns a Node.js child process, the sanitizer fails to drop the variable, the attacker's module is preloaded into the child, and coverage output paths can be redirected to overwrite arbitrary files writable by the OpenClaw user. No public exploit identified at time of analysis, but the technique is well-known and straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Environment variable sanitization weakness in OpenClaw prior to 2026.5.26 lets attackers smuggle Node.js control variables (such as NODE_OPTIONS) past the host environment sanitizer, enabling them to influence child-process behavior and coverage output paths. Affected attackers must have write access to workspace .env files, tool environment overrides, or skill environment blocks, and no public exploit is identified at time of analysis. The flaw was reported by VulnCheck and is tracked under CWE-184 (Incomplete List of Disallowed Inputs).
RemediationAI
Vendor-released patch: upgrade OpenClaw to 2026.5.26 or later, per advisory GHSA-ccwh-wwpp-6wg5 (https://github.com/openclaw/openclaw/security/advisories/GHSA-ccwh-wwpp-6wg5). Until the upgrade is deployed, restrict who can author or modify workspace .env files, tool environment override files, and skill environment blocks consumed by OpenClaw - treat those inputs as code, not configuration. As a compensating control, audit OpenClaw invocations for unexpected NODE_OPTIONS, NODE_PATH, NODE_V8_COVERAGE, and similar Node.js control variables, and consider running OpenClaw under a wrapper that explicitly strips the full Node.js variable family (side effect: legitimate use of those variables for debugging or coverage will also break).
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
OpenClaw applies a host environment sanitizer intended to strip dangerous variables before spawning Node.js child processes, but the deny-list is incomplete - a classic CWE-184 pattern where known-bad variables (NODE_OPTIONS, NODE_PATH, NODE_REPL_HISTORY, coverage-related variables like NODE_V8_COVERAGE, etc.) are not all enumerated. Because Node.js consults these variables at process startup, a single missed entry permits arbitrary preloads, module-resolution hijacking, or redirection of coverage artifacts into attacker-chosen filesystem locations. The affected component is the OpenClaw package itself (cpe:2.3:a:openclaw:openclaw:*), and remediation lands in version 2026.5.26 per the project's GHSA-ccwh-wwpp-6wg5 security advisory.
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:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Exploitation requires write access to workspace env sources, so AV:L and PR:L; sanitizer bypass is deterministic (AC:L); confidentiality and integrity high via child-process control, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenClaw before 2026.5.26 contains an insufficient sanitization vulnerability in the host environment sanitizer that allows Node.js control variables to bypass validation. Attackers with access to workspace .env files, tool environment overrides, or skill environment blocks can pass malicious Node.js control variables to influence child processes or coverage output paths.
Articles & Coverage 1
Executive ViewAI
OpenClaw prior to version 2026.5.26 contains an environment variable sanitization weakness that allows attackers with write access to configuration files to manipulate child process execution and coverage outputs. Organizations using OpenClaw face operational compromise and potential data integrity risks if threat actors gain write permissions to workspace configurations. Remediation requires either patching to 2026.5.26 or enforcing strict access controls on environment configuration files.
No vendor-released patch identified at time of analysis. Implement interim mitigations: (1) Restrict write access to workspace .env files and environment blocks to named authorized personnel only; (2) Require change review and approval for all modifications to tool environment overrides and skill environment blocks; (3) Enable comprehensive audit logging of environment variable changes with alerting; (4) Apply principle of least privilege to all service accounts with configuration access.
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.
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-37166
GHSA-ccwh-wwpp-6wg5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB