| Package | Affected versions | Patched versions |
|---|---|---|
| openclaw | < 2026.3.11 | 2026.3.11 |
| openclaw | < 2026.3.11 | 2026.3.11 |
In affected versions of openclaw, node-host system.run approvals did not bind a mutable file operand for some script runners, including forms such as tsx and jiti. An attacker could obtain approval for a benign script-runner command, rewrite the referenced script on disk, and have the modified code execute under the already approved run context.
Deployments that rely on node-host system.run approvals for script integrity could execute rewritten local code after operator approval. This can lead to unintended local code execution as the OpenClaw runtime user.
openclaw (npm)< 2026.3.112026.3.11The approval planner only tracked mutable script operands for a hardcoded set of interpreters and runtime forms. Commands such as tsx ./run.ts and jiti ./run.ts fell through without a bound file snapshot, so the final pre-execution revalidation step was skipped.
OpenClaw now fails closed for approval-backed interpreter and runtime commands unless it can bind exactly one concrete local file operand, and it extends direct-file binding coverage for additional runtime forms. The fix shipped in [email protected].
Upgrade to 2026.3.11 or later.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free