openclaw
Affected
- introduced
2026.3.1, fixed2026.3.2(semver)
Fixed versions
2026.3.2
Fix
- Fixed version
2026.3.2npm install [email protected]
Advisory
Also known as: CVE-2026-29608
OpenClaw's Node system.run approval hardening wrapper semantic drift can execute unintended local scripts
Summary
In [email protected], node system.run approval-path hardening rewrote wrapper command argv in a way that changed execution semantics. A command shown/approved as a shell payload (for example echo SAFE) could execute a different local script when wrapper argv were rewritten.
Affected Packages / Versions
openclaw (npm)2026.3.1 (latest published npm version as of March 2, 2026)2026.3.2 (released)Technical Details
Root cause was in node-host approval hardening for system.run:
src/node-host/invoke-system-run-plan.ts rewrote argv[0] to the resolved executable.['env','sh','-c','echo SAFE'] resolved executable sh.['/bin/sh','sh','-c','echo SAFE'] while approval text remained echo SAFE.That rewrite changed runtime behavior: /bin/sh interprets the extra sh positional argument as a script path, enabling execution of a local ./sh file from approved cwd instead of the approved payload text.
Impact
Approval-integrity break in host=node execution flow: operator-visible command text and executed behavior could diverge.
Exploit preconditions:
Fix Commit(s)
dded569626b0d8e7bdab10b5e7528b6caf73a0f1Fixed Version
[email protected].Medium Basis: The source's own band: MODERATE
2026.3.1, fixed 2026.3.2 (semver)2026.3.2
2026.3.2npm 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