Openclaw cli: OpenClaw: Native prompt image auto-load did not honor tools.fs.workspaceOnly in sandboxed runs
Description
In sandboxed runs of the openclaw-cli package, native prompt image auto-load did not respect the optional hardening setting tools.fs.workspaceOnly=true. This allowed prompt text to reference and load image files from mounted paths outside the intended workspace, potentially exposing sensitive image data to vision-capable model inputs. This issue affects versions before 2026.2.24 and requires specific conditions including sandbox mode, the workspaceOnly setting enabled, an out-of-workspace mount, and active vision-capable model paths. The vulnerability has been fixed in version 2026.2.24.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The openclaw-cli package (npm) had a vulnerability where native prompt image ingestion functions did not enforce the tools.fs.workspaceOnly=true restriction during sandboxed runs. This allowed image references in prompts to load files from out-of-workspace mounted paths, bypassing the intended filesystem access restrictions. The issue required sandbox mode enabled, the workspaceOnly setting configured, an accessible out-of-workspace mount path, and vision-capable model input active. The vulnerability affects versions >=2026.1.29 and <2026.2.24. A fix was introduced in commit 370d115549c0dadace0902775eea0d5094aedfdc and released in [email protected].
Potential Impact
When the optional hardening setting tools.fs.workspaceOnly=true is enabled in sandbox mode, this vulnerability allows prompt text to load image files from paths outside the designated workspace. This could lead to unintended exposure of sensitive image data mounted outside the workspace to vision-capable model inputs. The impact is limited to environments where sandbox mode and the workspaceOnly setting are both enabled and an out-of-workspace mount path is accessible.
Mitigation Recommendations
A patch is available in openclaw version 2026.2.24 which enforces the workspaceOnly restriction for native prompt image loading in sandboxed runs. Operators should upgrade to version 2026.2.24 or later to remediate this issue. Until patched, operators should consider disabling sandbox mode or the tools.fs.workspaceOnly setting if feasible, or ensure no sensitive out-of-workspace mounts are accessible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-GHSA-9f72-qcpw-2hxc
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac2458712601ec6a3164094
Added to database: 10/04/2026, 12:24:39 UTC
Last enriched: 10/04/2026, 12:32:15 UTC
Last updated: 10/04/2026, 12:32:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.