CVE-2026-29610 — Vulnerability in openclaw — CVE Details
OpenClaw: Command hijacking via unsafe PATH handling (bootstrapping + node-host PATH overrides)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.03%). Schedule for your next planned update.
Does your project use an affected openclaw version?
Paste your package-lock.json to check it for CVE-2026-29610 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Command hijacking via PATH handling
Discovered: 2026-02-04 Reporter: @akhmittra
Summary
OpenClaw previously accepted untrusted PATH sources in limited situations. In affected versions, this could cause OpenClaw to resolve and execute an unintended binary ("command hijacking") when running host commands.
This issue primarily matters when OpenClaw is relying on allowlist/safe-bin protections and expects PATH to be trustworthy.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
< 2026.2.14 - Patched:
>= 2026.2.14(planned next release)
What Is Required To Trigger This
A) Node Host PATH override (remote command hijack)
An attacker needs all of the following:
- Authenticated/authorized access to an execution surface that can invoke node-host execution (for example, a compromised gateway or a caller that can issue
system.run). - A node host connected and exposing
system.run. - A configuration where allowlist/safe-bins are expected to restrict execution (this is not meaningful if full arbitrary exec is already allowed).
- The ability to pass request-scoped environment overrides (specifically
PATH) intosystem.run. - A way to place an attacker-controlled executable earlier in
PATH(for example, a writable directory on the node host), with a name that matches an allowlisted/safe-bin command that OpenClaw will run.
Notes:
- OpenClaw deployments commonly require a gateway token/password (or equivalent transport authentication). This should not be treated as unauthenticated Internet RCE.
- This scenario typically depends on non-standard / misconfigured deployments (for example, granting untrusted parties access to invoke node-host execution or otherwise exposing a privileged execution surface beyond the intended trust boundary).
B) Project-local PATH bootstrapping (local command hijack)
An attacker needs all of the following:
- The victim runs OpenClaw from within an attacker-controlled working directory (for example, cloning and running inside a malicious repository).
- That directory contains a
node_modules/.bin/openclawand additional attacker-controlled executables in the same directory. - OpenClaw subsequently executes a command by name (resolved via
PATH) that matches one of those attacker-controlled executables.
Fix
- Project-local
node_modules/.binPATH bootstrapping is now disabled by default. If explicitly enabled, it is append-only (never prepended) viaOPENCLAW_ALLOW_PROJECT_LOCAL_BIN=1. - Node Host now ignores request-scoped
PATHoverrides.
Fix Commit(s)
- 013e8f6b3be3333a229a066eef26a45fec47ffcc
Thanks @akhmittra for reporting.
Advisory Timeline
- First published February 18, 2026 (281 days ago).
- Last revised March 6, 2026 — 16 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install openclaw@2026.2.14
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| openclaw npm · Affected: All versions | 2026.2.14 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-427
- CWE-78OS Command InjectionMITRE
- CWE-807
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-jqpq-mgvm-f9r6WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-29610ADVISORY
- https://github.com/openclaw/openclaw/commit/013e8f6b3be3333a229a066eef26a45fec47ffccWEB
- https://github.com/openclaw/openclawPACKAGE
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.14WEB
- https://www.vulncheck.com/advisories/openclaw-command-hijacking-via-unsafe-path-handlingWEB
Frequently Asked Questions
- What is CVE-2026-29610?
- OpenClaw: Command hijacking via unsafe PATH handling (bootstrapping + node-host PATH overrides). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-29610?
- CVE-2026-29610 affects openclaw. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-29610 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 62.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-31999CRITICAL
CpenClaw's ACPX Windows wrapper shell fallback allowed cwd injection in specific paths
- CVE-2026-32913HIGH
OpenClaw: fetch-guard forwards custom authorization headers across cross-origin redirects
- CVE-2026-35674HIGH
OpenClaw: Scoped chat.send route inheritance could bypass admin command scope gates
- CVE-2026-53836HIGH
OpenClaw: PowerShell encoded-command aliases could miss exec allowlist checks
- CVE-2026-41387HIGH
OpenClaw's incomplete host env sanitization blocklist allows supply-chain redirection via package-manager env overrides
- CVE-2026-53843HIGH
OpenClaw: Pairing-scoped device session could restore revoked node token authority
- CVE-2026-33578MEDIUM
OpenClaw: Google Chat and Zalouser group sender allowlist bypass via policy downgrade
- CVE-2026-42426MEDIUM
OpenClaw `node.pair.approve` placed in `operator.write` scope instead of `operator.pairing` allows unprivileged pairing approval