Openclaw cli: OpenClaw: Sandbox escape via TOCTOU race in remote FS bridge readFile (CVE-2026-41296)
Description
OpenClaw CLI versions from 2026.1.29 up to but not including 2026.3.31 contain a critical sandbox escape vulnerability due to a time-of-check to time-of-use (TOCTOU) race condition in the remote filesystem bridge's readFile operation. This flaw allows an attacker with limited privileges to bypass sandbox restrictions, potentially leading to full compromise of the sandboxed environment. The vulnerability is fixed starting with version 2026.3.31.
CVSS v3.1
Score 8.2high
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
CVE-2026-41296 is a critical sandbox escape vulnerability in the openclaw CLI package caused by a TOCTOU race condition in the remote filesystem bridge's readFile function. The vulnerability arises because the sandbox performs a path check and then separately reads the file, allowing an attacker to exploit the time gap between these operations to escape the sandbox. This issue affects openclaw versions from 2026.1.29 up to but excluding 2026.3.31. The fix was introduced in version 2026.3.31, as confirmed by the fix commit dated 2026-03-31.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with limited privileges to escape the sandbox environment, potentially gaining unauthorized access to the host system or sensitive data. The CVSS 3.1 score is 8.2 (high), reflecting network attack vector, high impact on confidentiality and integrity, and the requirement for low privileges and no user interaction.
Mitigation Recommendations
Users should upgrade openclaw CLI to version 2026.3.31 or later, where the TOCTOU sandbox escape vulnerability has been fixed. No other mitigations are indicated or necessary once the patch is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41296
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245a812601ec6a31661b1
Added to database: 10/04/2026, 12:25:12 UTC
Last enriched: 10/04/2026, 12:51:56 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.