Skip to main content
EPSS 0.2%top 94%

Openclaw cli: OpenClaw: Workspace .env npm_execpath could influence bundled runtime dependency install (CVE-2026-53846)

0
High
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

A vulnerability in openclaw-cli allows a workspace .env file to influence the npm_execpath used during bundled runtime dependency installation. This can cause an unintended local package-manager executable to run if a trusted operator opens a repository containing such a .env file. The issue affects versions from 2026.1.29 up to but not including 2026.4.29. A patch is available in version 2026.4.29. The impact depends on the operator's configuration and trust boundaries. Mitigations include installing dependencies only from trusted workspaces and restricting access via allowlists and disabling the affected feature when not needed.

CVSS v3.1

Score 7.1high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
>=2026.1.29 <2026.4.29

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/04/2026, 13:17:00 UTC

Technical Analysis

The vulnerability (CVE-2026-53846) in openclaw-cli arises because a workspace .env file can override the npm_execpath environment variable, influencing which package-manager executable is used during bundled runtime dependency installation. This can lead to execution of an unintended local package-manager binary when a trusted operator opens a repository containing such a .env file. The vulnerability does not alter the trusted-operator security model but can be exploited if lower-trust input reaches the affected feature. The first stable patched version is 2026.4.29, and affected versions are >=2026.1.29 and <2026.4.29.

Potential Impact

If exploited, this vulnerability could allow an attacker to cause the execution of an unintended local package-manager executable during dependency setup, potentially leading to compromise of the operator's environment or execution of malicious code. The actual impact depends on the operator's configuration and whether untrusted input can influence the npm_execpath environment variable in the workspace .env file.

Mitigation Recommendations

A patch is available in openclaw-cli version 2026.4.29. Until patched, users should install bundled runtime dependencies only from trusted workspaces. Additional mitigations include keeping channel and tool allowlists narrow, avoiding sharing a Gateway between mutually untrusted users, and disabling the affected feature when it is not needed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-openclaw-cli-CVE-2026-53846
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245d312601ec6a3168015

Added to database: 10/04/2026, 12:25:55 UTC

Last enriched: 10/04/2026, 13:17:00 UTC

Last updated: 10/04/2026, 16:08:39 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses