🛡️ CVE-2026-29610 — openclaw
Description
OpenClaw: Command hijacking via unsafe PATH handling (bootstrapping + node-host PATH overrides)
# 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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2026-29610 is classified as CWE-427: Uncontrolled Search Path Element. A writable directory appears in a search path, so a planted file can be loaded in place of the intended one.
Affected software
CVE-2026-29610 is recorded against 1 package.
- openclaw
Timeline and source
Published on 18 February 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
github.com (Web)
www.vulncheck.com (Web)
Details
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| openclaw | — | — |
References
Similar Threats
- Critical CVE-2026-22172
- Medium CVE-2026-22170
- Medium CVE-2026-22169
- High CVE-2026-22171
- Medium CVE-2026-22174
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Site Security Check
Is openclaw part of your stack?
CVE-2026-29610 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.