OpenClaw's Node system.run approval hardening wrapper semantic drift can execute unintended local scripts
Summary
In openclaw@2026.3.1, 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
- Package:
openclaw(npm) - Affected:
2026.3.1(latest published npm version as of March 2, 2026) - Fixed release:
2026.3.2(released)
Technical Details
Root cause was in node-host approval hardening for system.run:
src/node-host/invoke-system-run-plan.tsrewroteargv[0]to the resolved executable.- Wrapper resolution unwrapped dispatch wrappers, so input like
['env','sh','-c','echo SAFE']resolved executablesh. - The approved plan could become
['/bin/sh','sh','-c','echo SAFE']while approval text remainedecho 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:
- attacker can influence wrapper argv and place a local file in approved working directory,
- operator grants approval for the displayed command.
Fix Commit(s)
dded569626b0d8e7bdab10b5e7528b6caf73a0f1
Fixed Version
- Patched in
openclaw@2026.3.2.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | openclaw | >= 2026.3.1, < 2026.3.2 | 2026.3.2 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-h3rm-6x7g-882f
- https://nvd.nist.gov/vuln/detail/CVE-2026-29608
- https://github.com/openclaw/openclaw/commit/dded569626b0d8e7bdab10b5e7528b6caf73a0f1
- https://github.com/openclaw/openclaw
- https://www.vulncheck.com/advisories/openclaw-approval-integrity-bypass-via-system-run-argv-rewriting
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-88- Platform
- npm
- Package
openclaw- Disclosed
- 03.03.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h3rm-6x7g-882f - CC BY 4.0
Vulnerability history: openclaw
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 588
- First → latest
- 02.2026 07.2026
- Without a fix
- 9
- Exploited in attacks
- 0
Severity breakdown
- Critical 20
- High 215
- Medium 299
- Low 54
Disclosures per year
- 2026: 588
-
OpenClaw's Node system.run approval hardening wrapper semantic drift can execute unintended local scripts this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.