Skip to main content

OpenClaw CVE-2026-53846

| EUVDEUVD-2026-37148 HIGH
Untrusted Search Path (CWE-426)
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain write access to workspace
  2. Delivery
    Plant malicious .env and helper binary
  3. Exploit
    Developer or CI triggers install step
  4. Execution
    Helper loads .env and overrides npm_execpath
  5. Persist
    Attacker binary executed as package manager
  6. Impact
    Code execution in build environment

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Exploitation requires (1) the attacker to be able to write files into the OpenClaw project workspace - for example via a malicious commit, pull request, or shared filesystem access - specifically a crafted .env at a location the install helper will load, (2) a victim user or CI job to invoke OpenClaw's bundled-runtime-dependency install helper (the install/setup step that resolves npm_execpath) so the poisoned env is read, and (3) the targeted package-manager executable referenced by the overridden npm_execpath to exist on the local filesystem (the path-traversal lets the value point outside the workspace). Exploitation is limited to OpenClaw versions before 2026.4.29, requires local access to the workspace (AV:L), depends on user/CI action to run the install step (UI:A) and on the attack-requirement condition AT:P being met, and does not work against a freshly cloned trusted workspace with no attacker-supplied .env.

Impact

The provided CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N) describes a local, user-interaction-driven, high confidentiality/integrity impact issue and is consistent with a build-time supply-chain style flaw rather than a remotely reachable bug - base score 7.0 is appropriate. No EPSS score, no CISA KEV listing, and no public POC were provided, so this is best treated as an unexploited high-severity developer-side risk: the impact bar is high (arbitrary local code execution as the developer running the install), but the prerequisite of workspace write access and a developer triggering dependency setup materially constrains opportunistic abuse. Note the apparent tension between the CWE-426/description (an untrusted search path / env-driven hijack) and the listed tag 'Path Traversal' - the .env load path traversal is the delivery primitive while the search-path manipulation is the actual exploitation mechanism; defenders should treat this as supply-chain-class risk against build hosts, not a classic file-read traversal.

Exploit ScenarioDerived

An attacker contributes or commits a crafted .env file plus a small attacker-controlled executable into an OpenClaw project workspace (for example via a pull request or a shared dev environment); when a maintainer or CI runner subsequently runs the OpenClaw install helper, the helper reads the malicious .env, npm_execpath is rerouted via path traversal to the attacker's binary, and that binary is executed in place of npm/yarn as the dependency installer. The attacker thereby gains code execution in the build environment with the privileges of the user running the install, enabling secrets theft, lateral movement, or tampering with build artifacts. No public exploit identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jun 16, 2026

Untrusted search path in OpenClaw versions prior to 2026.4.29 lets workspace-local .env files override the npm_execpath variable consulted by the install helper, redirecting bundled dependency installation to an attacker-controlled package-manager binary. An attacker who can place files in the workspace can hijack the runtime dependency setup step to compromise the build environment under the developer's identity, with no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade OpenClaw to 2026.4.29 or later, which is the fixed release identified in GHSA-24vr-rprv-67rf (https://github.com/openclaw/openclaw/security/advisories/GHSA-24vr-rprv-67rf) and the VulnCheck advisory (https://www.vulncheck.com/advisories/openclaw-arbitrary-package-manager-execution-via-workspace-env-npm-execpath). Until the upgrade is applied, do not run OpenClaw install/setup steps against untrusted workspaces or repositories, delete or audit any unexpected .env files at the workspace root before invoking dependency installation, and explicitly unset or pin npm_execpath in the shell environment used to run installs so a workspace .env cannot override the resolved package-manager path (side effect: build scripts that rely on the calling package manager being auto-detected may need an explicit --npm/--yarn flag). For CI, restrict who can push .env files and run installs inside ephemeral, isolated runners so a hijacked package-manager binary cannot persist or reach long-lived secrets.

Affected VersionsENISA

OpenClaw 0 <2026.4.29

Affected Packages

npm openclaw fix: 2026.4.29

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 is a JavaScript/Node-based project that uses an install helper to fetch bundled runtime dependencies via the package manager indicated by the npm_execpath environment variable (a standard npm/Yarn convention pointing to the package-manager executable invoked for child scripts). Per CWE-426 (Untrusted Search Path), the helper resolves the executable path from environment input read out of project-local .env files, so a malicious value placed in a workspace .env can point npm_execpath at any binary on the local filesystem. Combined with path traversal in how the helper loads .env, this lets a relative path escape the expected workspace directory and reach an arbitrary executable, which the helper then runs as the package-installation tool. The single affected CPE, cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*, covers all OpenClaw versions before 2026.4.29.

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:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.3 MEDIUM

Local workspace access plus a victim-run install (AV:L, UI:R); AC:H for the attack-requirement of a writable workspace and present package-manager target; PR:N since the attacker needs no OpenClaw auth; high C/I, no availability impact.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Jun 16, 2026 - 20:02 EUVD

DescriptionCVE.org

OpenClaw before 2026.4.29 contains a path traversal vulnerability in the install helper that allows workspace .env files to override the npm_execpath configuration used for bundled runtime dependency installation. Attackers with workspace access can execute unintended local package-manager executables during dependency setup to compromise the build environment.

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.29.

Executive ViewAI

Why It Matters

OpenClaw prior to version 2026.4.29 allows build environment hijacking through local .env file manipulation, enabling insiders or collaborators with workspace access to redirect package installations and compromise software builds before distribution. This creates supply chain contamination risk for organizations shipping software built with affected OpenClaw versions. No public exploit has been identified, but the attack requires only local file placement capability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce strict file system permissions preventing .env file writes by unauthorized users; (2) Monitor and alert on npm_execpath variable overrides or unexpected package manager process execution; (3) Run builds in ephemeral containers or isolated environments; (4) Require peer review and cryptographic signing of dependency modifications; (5) Implement build artifact scanning to detect unsigned or unexpected package manager outputs.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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 Yes
EPSS 0.1%
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
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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