CVE-2026-32026: Temporary path handling could write outside OpenClaw temp boundary
OpenClaw up to 2026.2.23 accepts absolute paths under the host temp directory as sandbox media without checking they stay inside sandboxRoot. Attachment delivery then trusts them, so host temp files can be read and sent out as attachments. Fixed in 2026.2.24. Moderate severity, high confidentiality impact where sandboxRoot is a strict boundary.
Published Mar 3, 2026 · Updated Mar 20, 2026 · Analysis Nov 7, 2026
What an attacker can do
Sandbox media validation accepted absolute paths under os.tmpdir() without confirming they stayed inside the active sandboxRoot. Attachment delivery then treated those paths as already validated. It could read host temp files that sit outside the sandbox and send them out as attachments. The weaknesses are CWE-22 and CWE-284.
The advisory does not list preconditions. It implies that an attacker-controlled media reference must reach the outbound attachment path, and that the deployment relies on sandboxRoot as its filesystem boundary. An agent steered by a crafted message could be that route.
Temporary directories often hold other programs' downloads, build output, tokens and session files. The advisory rates confidentiality impact high for deployments that treat the sandbox root as strict. Nothing in it points to writes or code execution.
Who is affected
The npm package openclaw up to and including 2026.2.23. Check the version.
npm ls openclawThe risk is highest if you use sandboxing and rely on sandboxRoot as the boundary, and if the host's temp directory holds data you would not want sent out.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.23
- Fixed in
- 2026.2.24
- Check
npm ls openclaw
How to fix it
Upgrade to OpenClaw 2026.2.24 or later. Three commits (d3da67c, 79a7b3d and def993d) restrict sandbox temp-path acceptance to OpenClaw-managed temp roots and default SDK and extension temp helpers to those roots. They also add CI guardrails against broad temp-root changes in messaging and channel code. The advisory lists no workaround.
How to tell if you were hit
Review outbound attachments sent by the agent for files that originate in the system temp directory rather than the sandbox workspace. Check logs for media paths that start with the host os.tmpdir() value. Beam records agent file access, which can show reads under the temp directory.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Sandbox media local-path validation accepted absolute paths under host tmp, even when those paths were outside the active sandbox root.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published version verified during triage:
2026.2.23 - Affected versions:
<= 2026.2.23 - Patched versions (planned next release):
>= 2026.2.24
Details
In affected versions, sandbox media path resolution allowed absolute host tmp paths as trusted media inputs when they were under os.tmpdir(), without requiring that the path stay within the active sandboxRoot. Because outbound attachment hydration consumed these paths as already validated, this enabled out-of-sandbox host tmp file reads and exfiltration through attachment delivery.
Impact
- Confidentiality impact: high for deployments relying on
sandboxRootas a strict local filesystem boundary. - Practical impact: attacker-controlled media references could read and attach host tmp files outside the sandbox workspace boundary.
Remediation
- Restrict sandbox tmp-path acceptance to OpenClaw-managed temp roots only.
- Default SDK/extension temp helpers to OpenClaw-managed temp roots.
- Add CI guardrails to prevent broad tmp-root regressions in messaging/channel code paths.
Fix Commit(s)
d3da67c7a9b463edc1a9b1c1f7af107a34ca32f579a7b3d22ef92e36a4031093d80a0acb0d82f351def993dbd843ff28f2b3bad5cc24603874ba9f1e
Release Process Note
The advisory is pre-set with patched version 2026.2.24 so it is ready for publication once that npm release is available.
OpenClaw thanks @tdjackey for reporting.
Publication Update (2026-02-25)
[email protected] is published on npm and contains the fix commit(s) listed above. This advisory now marks >= 2026.2.24 as patched.
Credited to tdjackey.
Questions
- Which version fixes CVE-2026-32026?
OpenClaw 2026.2.24 or later. Versions up to 2026.2.23 are affected.
- Does this allow writing files?
The advisory describes reading and attaching host temp files outside the sandbox. It does not describe writes, despite the 'write outside temp boundary' title.
- Who is most at risk?
Deployments that treat sandboxRoot as a strict filesystem boundary, where confidentiality impact is rated high.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/commit/79a7b3d22ef92e36a4031093d80a0acb0d82f351
- https://github.com/openclaw/openclaw/commit/d3da67c7a9b463edc1a9b1c1f7af107a34ca32f5
- https://github.com/openclaw/openclaw/commit/def993dbd843ff28f2b3bad5cc24603874ba9f1e
- https://nvd.nist.gov/vuln/detail/CVE-2026-32026
- https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-improper-temporary-path-validation-in-sandbox
- https://github.com/advisories/GHSA-33hm-cq8r-wc49
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
