openclaw
Affected
- introduced
0, fixed2026.2.14(semver)
Fixed versions
2026.2.14
Fix
- Fixed version
2026.2.14npm install [email protected]
Advisory
Also known as: CVE-2026-29610
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
openclaw (npm)< 2026.2.14>= 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:
system.run).system.run.PATH) into system.run.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:
B) Project-local PATH bootstrapping (local command hijack)
An attacker needs all of the following:
node_modules/.bin/openclaw and additional attacker-controlled executables in the same directory.PATH) that matches one of those attacker-controlled executables.Fix
node_modules/.bin PATH bootstrapping is now disabled by default. If explicitly enabled, it is append-only (never prepended) via OPENCLAW_ALLOW_PROJECT_LOCAL_BIN=1.PATH overrides.Fix Commit(s)
Thanks @akhmittra for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.2.14 (semver)2026.2.14
2026.2.14npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0