CVE-2026-35658: OpenClaw: Image Tool `tools.fs.workspaceOnly` Bypass via Sandbox Bridge Mounts
Summary The image tool did not fully honor the tools.fs.workspaceOnly filesystem boundary. In affected releases, image-path resolution could still traverse sandbox bridge mounts outside the workspace and read files from mounted directories that the other file tools would reject.
Published Mar 26, 2026 · Updated Apr 10, 2026
Affected packages
openclaw
- Ecosystem
- npm
- Affected
- < 2026.3.2
- Fixed in
- 2026.3.2
- Check
npm ls openclaw
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The image tool did not fully honor the tools.fs.workspaceOnly filesystem boundary. In affected releases, image-path resolution could still traverse sandbox bridge mounts outside the workspace and read files from mounted directories that the other file tools would reject.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
< 2026.3.2 - Fixed:
>= 2026.3.2 - Latest released tags checked:
v2026.3.23(ccfeecb6887cd97937e33a71877ad512741e82b2) andv2026.3.23-2(630f1479c44f78484dfa21bb407cbe6f171dac87) - Latest published npm version checked:
2026.3.23-2
Fix Commit(s)
dd9d9c1c609dcb4579f9e57bd7b5c879d0146b5314baadda2c456f3cf749f1f97e8678746a34a7f4
Release Status
The complete fix shipped in v2026.3.2 and remains present in v2026.3.23 and v2026.3.23-2.
Code-Level Confirmation
src/agents/openclaw-tools.tsnow passesfsPolicyintocreateImageTool, so the image tool receives the same workspace-only policy input as the other filesystem tools.src/agents/tools/image-tool.ts,src/agents/tools/media-tool-shared.ts, andsrc/agents/sandbox-media-paths.tsnow restrict local roots and sandbox-bridge resolution to the workspace whentools.fs.workspaceOnlyis enabled.
OpenClaw thanks @YLChen-007 for reporting.
Credited to YLChen-007.
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-cfp9-w5v9-3q4h
- https://github.com/openclaw/openclaw/commit/14baadda2c456f3cf749f1f97e8678746a34a7f4
- https://github.com/openclaw/openclaw/commit/dd9d9c1c609dcb4579f9e57bd7b5c879d0146b53
- https://nvd.nist.gov/vuln/detail/CVE-2026-35658
- https://github.com/openclaw/openclaw/commit/630f1479c44f78484dfa21bb407cbe6f171dac87
- https://github.com/openclaw/openclaw/commit/ccfeecb6887cd97937e33a71877ad512741e82b2
- https://www.vulncheck.com/advisories/openclaw-filesystem-boundary-bypass-in-image-tool
- https://github.com/advisories/GHSA-cfp9-w5v9-3q4h
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. No analysis has been written for this entry yet. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-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, 2026CVE-2026-53812
OpenClaw's browser act interactions could bypass private-network navigation checks
medium7.7Jul 2, 2026
