Openclaw cli: OpenClaw: OpenShell Mirror Sync — Sandbox Escape via Unrestricted File Sync + Symlink Traversal (CVE-2026-41397)
Description
OpenClaw CLI's OpenShell Mirror Sync feature has a critical vulnerability (CVE-2026-41397) that allows sandbox escape via unrestricted file synchronization combined with symlink traversal. Versions of the openclaw package up to 2026.3.28 are affected. The issue involves a mirror-boundary bug that was partially addressed in commit c02ee8a3 but fully fixed in version 2026.3.31 with commit 3b9dab0. The vulnerability has a high CVSS score of 9.6, indicating critical severity.
CVSS v3.1
Score 9.6critical
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's OpenShell Mirror Sync functionality suffers from a sandbox escape vulnerability due to unrestricted file synchronization and symlink traversal. This allows an attacker with limited privileges to escape sandbox restrictions by exploiting the mirror-boundary bug. The vulnerability affects openclaw npm package versions from 2026.1.29 up to but not including 2026.3.31. The fix was introduced in version 2026.3.31, which includes hardening to prevent symlink-based uploads and downloads. The vulnerability was reported by @AntAISecurityLab and has a CVSS v3.1 score of 9.6, reflecting critical impact on confidentiality and integrity.
Potential Impact
Successful exploitation can lead to sandbox escape, allowing an attacker with limited privileges to gain unauthorized access to the file system outside the intended sandbox environment. This compromises confidentiality and integrity of the system. Availability impact is not indicated. The vulnerability is critical due to the ease of network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Upgrade the openclaw package to version 2026.3.31 or later, which contains the official fix addressing the mirror-boundary bug and symlink traversal issues. Versions up to 2026.3.28 remain vulnerable. No additional mitigation is required once the patch is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41397
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac2459c12601ec6a3165d5d
Added to database: 10/04/2026, 12:25:00 UTC
Last enriched: 10/04/2026, 12:45:40 UTC
Last updated: 10/04/2026, 16:08:38 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.
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.