Skip to main content
EPSS 0.9%top 41%

Openclaw cli: OpenClaw: Command hijacking via unsafe PATH handling (bootstrapping + node-host PATH overrides) (CVE-2026-29610)

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

Description

OpenClaw CLI versions before 2026.2.14 are vulnerable to command hijacking due to unsafe PATH handling. This allows an attacker with certain access to cause OpenClaw to execute unintended binaries by manipulating the PATH environment variable. The vulnerability arises in two scenarios: one involving remote node-host PATH overrides and another involving local project directory PATH bootstrapping. The issue is mitigated in version 2026.2.14 and later by disabling project-local PATH bootstrapping by default and ignoring request-scoped PATH overrides on the node host.

CVSS v3.1

Score 8.8high

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

Affected software

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

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:07:43 UTC

Technical Analysis

OpenClaw CLI versions prior to 2026.2.14 accepted untrusted PATH environment variables in limited contexts, which could lead to command hijacking. Specifically, an attacker with authenticated access to invoke node-host execution and the ability to override PATH could cause OpenClaw to resolve and run attacker-controlled binaries earlier in the PATH. Additionally, running OpenClaw from an attacker-controlled directory containing malicious executables in node_modules/.bin could also lead to local command hijacking. The fix disables project-local PATH bootstrapping by default and ignores PATH overrides in node-host execution, preventing these attack vectors.

Potential Impact

Successful exploitation allows an attacker with certain authorized access to execute arbitrary commands by hijacking the PATH resolution process. This can lead to full confidentiality, integrity, and availability compromise (C:H/I:H/A:H) of the affected system. The vulnerability is significant in environments relying on allowlist or safe-bin protections for command execution, especially if misconfigured to allow PATH overrides or untrusted execution surfaces.

Mitigation Recommendations

A patch is available in OpenClaw CLI version 2026.2.14 and later. Users should upgrade to this version or newer. The fix disables project-local PATH bootstrapping by default and prevents node-host from accepting request-scoped PATH overrides. Deployments should avoid configurations that allow untrusted parties to invoke node-host execution or pass PATH overrides. If upgrading is not immediately possible, ensure that execution surfaces and environment variables are tightly controlled to prevent PATH manipulation.

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-29610
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245c412601ec6a31670b6

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

Last enriched: 10/04/2026, 13:07:43 UTC

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

Views: 1

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