Openclaw cli: OpenClaw: Sandbox media fallback tmp symlink alias bypass allows host file reads outside sandboxRoot
Description
A sandbox path validation bypass vulnerability in the openclaw CLI allows unauthorized reading of host files outside the intended sandboxRoot. This occurs when the fallback temporary directory used by openclaw is a symlink alias, enabling media paths under this fallback root to escape sandbox confinement. The issue affects openclaw versions up to 2026.2.24 and is fixed in version 2026.2.25.
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 contains a sandbox path validation bypass vulnerability in its media path fallback mechanism. When the primary tmp directory (/tmp/openclaw) is unavailable or unsafe, openclaw falls back to a tmp directory under os.tmpdir() without verifying that this fallback path is a trusted, non-symlink directory. If this fallback tmp root is a symlink alias (e.g., pointing to /), the function resolveSandboxedMediaSource() can be tricked into accepting absolute media paths that resolve outside the sandboxRoot, allowing unauthorized host file reads. This vulnerability affects openclaw versions <= 2026.2.24 and is patched in 2026.2.25.
Potential Impact
This vulnerability breaks sandbox media path confinement, permitting unauthorized reading of host files outside the sandboxRoot. The impact is a confidentiality breach, as sensitive host files can be accessed by bypassing sandbox restrictions.
Mitigation Recommendations
A patch is available in openclaw version 2026.2.25 that fixes the sandbox path validation bypass. Users should upgrade to version 2026.2.25 or later to remediate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-GHSA-xmv6-r34m-62p4
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac2458012601ec6a3164067
Added to database: 10/04/2026, 12:24:32 UTC
Last enriched: 10/04/2026, 12:29:04 UTC
Last updated: 10/04/2026, 12:29:04 UTC
Views: 1
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.