CVE-2026-42434: OpenClaw: Sandboxed agents could escape exec routing via host=node override
In OpenClaw 2026.4.5 up to 2026.4.9, a sandboxed agent can ask for host "node" and send command execution to a remote node, instead of the sandbox. That breaks the sandbox routing boundary. Upgrade openclaw to 2026.4.10 or newer.
Published Apr 17, 2026 · Updated May 8, 2026 · Analysis Oct 29, 2026
What an attacker can do
OpenClaw routes an agent's exec calls according to the active sandbox policy. An agent running in a sandbox is supposed to execute only inside it. In the affected range, the agent could pass host: "node" in its exec request, and the router honored that override, sending the command to a remote node. The weakness is incorrect authorization (CWE-863).
The attacker needs to influence what a sandboxed agent asks for. The CVSS vector shows low privileges and network access, so a caller who can drive the agent qualifies, and so does a prompt injection that gets the agent to emit the override. Whatever runs on the remote node is outside the sandbox and runs with that node's rights and network reach. The vector scores high confidentiality, integrity and availability impact for that reason. The boundary matters most for teams that run untrusted agent sessions and also pair real nodes with the same gateway.
Who is affected
The openclaw npm package from 2026.4.5 up to but not including 2026.4.10. Earlier versions are outside the stated range. Check the version:
npm ls -g openclaw
openclaw --versionSetups without remote nodes paired to the gateway have no node target to reach.
openclaw
- Ecosystem
- npm
- Affected
- >= 2026.4.5, < 2026.4.10
- Fixed in
- 2026.4.10
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.4.10 or newer. Release 2026.4.14 also contains the fix.
npm install -g [email protected]Pull request 63880 (commit dffad08529202edbf34e4808788e1182fe10f6a9) blocks sandboxed exec from escaping to remote node targets and keeps routing in line with the sandbox policy. No workaround appears in the advisory.
How to tell if you were hit
Check exec logs on your remote nodes for commands that came from sessions that should be sandboxed, and gateway logs for exec requests with host set to node from sandboxed agents. Beam records the shell commands agents run and its rules can flag risky ones, which would show a command running on a host where the agent should not execute.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Sandboxed agents could escape exec routing via host=node override.
Affected Packages / Versions
- Package:
openclaw - Ecosystem: npm
- Affected versions:
>= 2026.4.5 < 2026.4.10 - Patched versions:
>= 2026.4.10
Impact
A sandboxed agent could request host: "node" and route exec to a remote node instead of the intended sandbox execution path, bypassing the sandbox routing boundary.
Technical Details
The fix blocks sandboxed exec escape to remote node targets and keeps routing aligned with the active sandbox policy.
Fix
The issue was fixed in #63880. The first stable tag containing the fix is v2026.4.10, and [email protected] includes the fix.
Fix Commit(s)
dffad08529202edbf34e4808788e1182fe10f6a9- PR: #63880
Release Process Note
Users should upgrade to openclaw 2026.4.10 or newer. The latest npm release, 2026.4.14, already includes the fix.
Credits
Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab and @qclawer for reporting this issue.
Credited to zsxsoft, KeenSecurityLab, qclawer.
Questions
- Is OpenClaw 2026.4.4 affected by CVE-2026-42434?
The listed range starts at 2026.4.5, so 2026.4.4 and earlier fall outside it. Upgrade to 2026.4.10 or newer anyway.
- What does host=node do?
It makes exec go to a remote node. A sandboxed agent could request it and bypass the sandbox routing that should keep execution inside the sandbox.
- Which version fixes it?
2026.4.10 is the first stable tag with the fix, and 2026.4.14 includes it.
- Does it need user interaction?
No. The CVSS vector sets user interaction to none and privileges to low.
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 entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
