NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-32979: OpenClaw: Unbound interpreter and runtime commands could bypass node-host approval integrity

highCVSS 3.1 7.3GHSA-xf99-j42q-5w5p

OpenClaw treated some interpreter and runtime commands as approval-backed in node-host `system.run` even when it could not tie them to exactly one local script file. An approved harmless script could be rewritten before it ran, giving local code execution as the OpenClaw runtime user. Fixed in `openclaw` 2026.3.11.

Published Mar 13, 2026 · Updated Apr 6, 2026 · Analysis Oct 31, 2026

What an attacker can do

During approval planning, OpenClaw accepted certain interpreter and runtime command forms without a reliable link to a single local file. The approval then covered a command name but not the content that would run. This leaves a time-of-check to time-of-use gap (CWE-367).

An operator approves a harmless local script. If the file changes before execution, the node host runs the new code. The attacker needs local access with low privileges, enough to rewrite the script, and a human approval must occur. The vector is local and low complexity, with high confidentiality, integrity and availability impact.

In practice this undermines setups that use system.run approval mode as the safeguard for agent-run scripts. The advisory says the runtime forms outside the set of files that approval covered were the gap.

Who is affected

openclaw 2026.3.8 and earlier, and per the packages data any release before 2026.3.11. The exposure is deployments that use node-host system.run approval mode. Check:

npm ls openclaw

openclaw

Ecosystem
npm
Affected
< 2026.3.11
Fixed in
2026.3.11
Check
npm ls openclaw

How to fix it

Upgrade to 2026.3.11 or later.

npm install -g [email protected]

From this release, approval-backed interpreter and runtime commands fail closed unless OpenClaw can bind exactly one concrete local file operand, and best-effort direct-file binding covers more runtime forms. Upgrading is the only remedy the advisory names.

How to tell if you were hit

Look for scripts whose contents changed between operator approval and the run, and for interpreter commands run via system.run whose script path is writable by other local users or processes. Beam records agent shell commands and file access, so you can match a file edit to the command that ran next.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

In affected versions of openclaw, node-host system.run approvals could still execute rewritten local code for interpreter and runtime commands when OpenClaw could not bind exactly one concrete local file operand during approval planning.

Impact

Deployments using node-host system.run approval mode could approve a benign local script and then execute different local code if that script changed before execution. This can lead to unintended local code execution as the OpenClaw runtime user.

Affected Packages and Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.3.8
  • Fixed in: 2026.3.11

Technical Details

The approval flow treated some interpreter and runtime forms as approval-backed even when it could not honestly bind a single direct local script file. That left residual approval-integrity gaps for runtime forms outside the directly bound file set.

Fix

OpenClaw now fails closed for approval-backed interpreter and runtime commands unless it can bind exactly one concrete local file operand, and it extends best-effort direct-file binding for additional runtime forms. The fix shipped in [email protected].

Workarounds

Upgrade to 2026.3.11 or later.

Credited to tdjackey.

Questions

Is this remotely exploitable?

The CVSS vector is local with low privileges and user interaction required. The attacker must be able to modify the local script after approval.

Which code runs after the swap?

The modified script runs as the OpenClaw runtime user, so it has that account's file and network access.

What version should I run?

2026.3.11 or later. Versions up to 2026.3.8 are listed as affected.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries