Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDistribute malicious workspace via repository
-
DeliveryDeveloper opens workspace in OpenClaw < 2026.4.20
-
ExploitDotenv loader processes malicious .env file
-
ExecutionOPENCLAW_GIT_DIR variable overrides runtime control
-
PersistOpenClaw source-update/installer uses attacker path
-
ImpactRead/write/execute attacker-controlled code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires the victim developer to open an attacker-controlled OpenClaw workspace that contains a malicious .env file setting OPENCLAW_ prefixed variables. The vulnerability affects only OpenClaw npm package versions below 2026.4.20 when processing workspace-local dotenv files during initialization, source-update, or installer flows. The CVSS vector AV:L/AC:L/PR:N/UI:P confirms local access with low complexity, no privileges required, but user interaction is mandatory - the developer must actively open the malicious workspace. Default OpenClaw configurations are vulnerable; no non-default settings are required to enable the attack surface. Attack limitations include: the attacker cannot exploit this remotely without first convincing a developer to download and open a malicious workspace (social engineering or supply chain compromise prerequisite), the impact is scoped to the OpenClaw runtime environment rather than achieving full system compromise (SC:N/SI:N in CVSS), and exploitation requires the workspace to be opened in a vulnerable OpenClaw version during operations that consume the poisoned environment variables. Developers who exclusively use globally-configured OpenClaw instances without per-workspace .env files, or who operate in read-only/sandboxed environments, have reduced exposure. |
| Impact | Real-world risk is moderate despite the 8.5 CVSS score. The CVSS:4.0 vector AV:L/AC:L/PR:N/UI:P indicates local attack vector with user interaction required - an attacker must convince a developer to open a malicious workspace containing a crafted .env file. Attack complexity is low once the social engineering succeeds. The vulnerability achieves high confidentiality and integrity impact (VC:H/VI:H) within the vulnerable system scope but no cross-scope impact (SC:N/SI:N), meaning compromise is contained to the OpenClaw runtime environment rather than the underlying host system. EPSS data is not provided in the input. KEV status is not present, confirming no evidence of active exploitation in the wild. However, public exploit code exists via GitHub Security Advisory GHSA-hxvm-xjvf-93f3, lowering the barrier for attackers. The vulnerability is NOT automatable (requires user interaction to open workspace) and targets development environments rather than production systems, limiting blast radius. VulnCheck classified this as Information Disclosure, though the CVSS vector indicates integrity impact is the primary concern. Priority should be moderate: patch promptly in development environments with OpenClaw installed, but this is not a wormable remote code execution scenario. The local-only attack vector and requirement for developer interaction substantially reduce urgency compared to network-accessible vulnerabilities with similar CVSS scores. |
| Exploit ScenarioDerived | An attacker distributes a malicious OpenClaw workspace via a public repository, collaboration platform, or supply chain compromise (e.g., typosquatted project template). The workspace contains a crafted .env file with OPENCLAW_GIT_DIR=/attacker/controlled/path. When a developer clones the repository and opens the workspace in OpenClaw versions prior to 2026.4.20, the dotenv loader processes the malicious .env file without filtering the OPENCLAW_ namespace. During subsequent source-update or installer operations, OpenClaw uses the attacker-controlled OPENCLAW_GIT_DIR value, redirecting Git operations to fetch from or write to the attacker's server. The attacker achieves arbitrary file read/write within the developer's permissions and potential code execution if the poisoned paths are later executed. Public exploit code demonstrating the namespace collision is available in the GitHub Security Advisory, lowering the technical barrier for this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
Environment variable namespace collision in OpenClaw npm package before version 2026.4.20 enables malicious workspace dotenv files to override critical runtime control variables including OPENCLAW_GIT_DIR, potentially redirecting trusted operations like source updates and installer flows to attacker-controlled paths. Exploitation requires user interaction (opening a malicious workspace) but no authentication, achieving high confidentiality and integrity impact within the local scope. CVSS 8.5 severity reflects the local attack vector with low complexity. No active exploitation confirmed (not in CISA KEV), but public exploit code exists via the GitHub security advisory demonstrating the attack surface. Fixed in version 2026.4.20 per vendor commit 018494fa.
RemediationAI
Upgrade the OpenClaw npm package to version 2026.4.20 or later immediately. Run 'npm update openclaw' or 'npm install openclaw@2026.4.20' in affected development environments. The fix is implemented in commit 018494fa3ebb9145112e68b56fe1cb2e9f9a9ed6 available at https://github.com/openclaw/openclaw/commit/018494fa3ebb9145112e68b56fe1cb2e9f9a9ed6, which adds comprehensive blocking of the OPENCLAW_ prefix in workspace dotenv parsing. Vendor advisory available at https://github.com/openclaw/openclaw/security/advisories/GHSA-hxvm-xjvf-93f3 confirms the patched version. If immediate upgrade is not feasible, implement compensating controls: restrict workspace sources to trusted repositories only, manually audit all .env files in existing workspaces for OPENCLAW_ variables before opening projects (filter via 'grep OPENCLAW_ .env'), and run OpenClaw with a restrictive file system sandbox that prevents modification of trusted paths. Note that the workaround of manual auditing creates operational overhead and is error-prone - it does not prevent exploitation if a malicious .env is missed during review. Organizations should prioritize the patch over workarounds given the low upgrade complexity (single package version bump with no breaking changes noted in the changelog).
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 stems from CWE-184 (Incomplete List of Disallowed Inputs) in OpenClaw's dotenv configuration loader. The affected component (src/infra/dotenv.ts) loads environment variables from workspace-local .env files without adequately filtering the OPENCLAW_ namespace reserved for runtime control. The npm package openclaw implements a development environment manager that reads per-workspace configuration from .env files. Prior to the fix, the BLOCKED_WORKSPACE_DOTENV_PREFIXES list was incomplete, failing to reserve the entire OPENCLAW_ namespace. This allowed untrusted workspace .env files to inject variables like OPENCLAW_GIT_DIR, OPENCLAW_WORKSPACE_DIR, OPENCLAW_MDNS_HOSTNAME, and OPENCLAW_SESSION_CACHE_TTL_MS that control trusted operations during initialization, source synchronization, and installation workflows. The patch adds a blanket OPENCLAW_ prefix block to the workspace dotenv parser, implementing a fail-closed security model where new runtime-control variables inherit protection by default rather than requiring explicit enumeration.
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
2DescriptionCVE.org
OpenClaw before 2026.4.20 fails to properly reserve the OPENCLAW_ runtime-control environment namespace in workspace dotenv files, allowing attackers to override critical runtime variables. Malicious workspaces can set variables like OPENCLAW_GIT_DIR to manipulate trusted OpenClaw runtime behavior during source-update or installer flows.
Executive ViewAI
CVE-2026-44114 affects OpenClaw npm package versions before 2026.4.20, allowing malicious workspace configuration files to hijack critical runtime variables and redirect trusted operations to attacker-controlled locations. Organizations using OpenClaw in development or CI/CD environments face potential compromise of source code integrity and installer chains if users open untrusted workspaces, creating supply chain and code integrity risks.
Vendor-released patch: OpenClaw version 2026.4.20. Interim mitigations pending patch deployment: (1) Restrict workspace opening to trusted sources only; (2) Implement file integrity monitoring on OPENCLAW_GIT_DIR and related runtime paths; (3) Run build and development processes in isolated containers with read-only configuration mounts; (4) Disable or sandbox dotenv file processing in workspace initialization where feasible.
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.
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-28194
GHSA-hxvm-xjvf-93f3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB