OpenClaw
CVE-2026-41296
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to remote filesystem bridge
-
DeliverySend crafted readFile request
-
ExploitWin TOCTOU race via path substitution
-
ExecutionRead arbitrary file outside sandbox
-
ImpactExfiltrate sensitive data or modify system files
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires authenticated access with low privileges (PR:L) to OpenClaw's remote filesystem bridge component specifically. The vulnerability affects deployments where the remote filesystem bridge is enabled and accessible over the network (AV:N), which may not be default configuration for all OpenClaw installations. High attack complexity (AC:H) indicates successful exploitation demands precise timing to win the TOCTOU race between path validation and file read operations, likely requiring automated tools to generate rapid concurrent requests. The separate validation and read operations must execute with sufficient delay to create an exploitable race window, which may depend on system load, filesystem performance, or network latency. No user interaction required (UI:N), but the attacker must already possess valid credentials for the remote filesystem service. Limiting exploitation: authentication barrier prevents unauthenticated remote attacks, high complexity makes casual exploitation unlikely, and successful sandbox escape may require multiple attempts to reliably win the race condition, potentially generating detectable anomalous request patterns in logs. |
| Impact | Real-world risk is moderate despite high CVSS 8.8 scoring. The CVSS vector's AC:H (high attack complexity) reflects the precise timing required to win the race condition, making exploitation non-trivial and likely requiring multiple attempts or specific environmental conditions. EPSS score of 0.03% (7th percentile) indicates security researchers assess low near-term exploitation probability, consistent with the technical difficulty and niche attack surface of a gaming engine's remote filesystem bridge. No CISA KEV listing and no public POC identified at time of analysis suggest this remains a theoretical vulnerability. However, the scope change indicators (SC:H/SI:H) showing high subsequent system impact elevate severity - successful exploitation breaks out of the sandbox entirely, not just compromising the vulnerable component. Authentication requirement (PR:L) provides some defense-in-depth, limiting attack surface to users with existing remote filesystem bridge access. Priority should focus on environments where OpenClaw runs with elevated privileges or processes sensitive data, particularly if the remote filesystem bridge is exposed to untrusted networks. The availability of a vendor patch (commit 121870a) shifts this from emergency to planned maintenance priority unless OpenClaw is deployed in high-risk contexts. |
| Exploit ScenarioDerived | An authenticated attacker with low-privilege access to OpenClaw's remote filesystem bridge initiates multiple concurrent readFile requests targeting a sensitive system file (e.g., /etc/shadow or application configuration). During the first request, the attacker provides a legitimate path that passes sandbox validation. Exploiting the race window between validation and file read, the attacker rapidly replaces the validated path with a symbolic link or performs a filesystem manipulation pointing to the restricted target file. Due to high attack complexity (AC:H), the attacker likely automates this process with repeated attempts until successfully winning the race condition. Upon successful exploitation, the attacker reads arbitrary files outside the sandbox, exfiltrating credentials, configuration secrets, or other sensitive data, then potentially modifies files (VI:H) to establish persistence or further compromise the system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 21, 2026
Remote filesystem bridge in OpenClaw (<2026.3.31) enables sandbox escape through a TOCTOU race condition in readFile validation. Authenticated remote attackers can exploit the timing gap between path validation and file read operations to bypass sandbox restrictions and access arbitrary files outside the intended security boundary, potentially compromising both confidentiality and integrity of the underlying system. EPSS score of 0.03% (7th percentile) suggests low probability of widespread exploitation despite CVSS 8.8 severity, though patch availability from vendor (commit 121870a) enables defenders to remediate proactively before active exploitation begins.
Earlier versions of this analysis (1)
Remote filesystem bridge in OpenClaw (versions before 2026.3.31) allows authenticated attackers to escape application sandbox restrictions and read arbitrary host files via time-of-check-time-of-use race condition. Attackers exploit the temporal gap between path validation and file read operations to bypass security controls, potentially accessing sensitive configuration files, credentials, or application data outside intended boundaries. No public exploit code identified at time of analysis, though CVSS AV:N/AC:H indicates network-based exploitation with high attack complexity (race condition timing requirements).
RemediationAI
Upgrade OpenClaw to version 2026.3.31 or later, which contains the fix for the TOCTOU race condition per vendor advisory GHSA-9p3r-hh9g-5cmg and commit 121870a08583033ed6a0ed73d9ffea32991252bb on GitHub. The patch likely implements atomic file operations or file descriptor-based access to eliminate the race window between validation and read operations. If immediate upgrade is not feasible, disable the remote filesystem bridge component entirely if not required for operations - this eliminates the attack surface but will break any workflows dependent on remote file access capabilities, requiring alternative file transfer mechanisms. For deployments requiring the bridge, restrict network access to the remote filesystem service to trusted IP ranges only and enforce principle of least privilege for accounts with bridge access (PR:L requirement). Implement file integrity monitoring on sensitive directories to detect successful sandbox escapes post-exploitation, though this provides detection rather than prevention. Review application logs for anomalous readFile patterns showing rapid repeated requests to the same paths, which may indicate race condition exploitation attempts. Note that authentication-based mitigations provide limited value since the vulnerability is exploitable by authenticated users (PR:L).
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-367 (Time-of-Check-Time-of-Use race condition) in OpenClaw's remote filesystem bridge component. The readFile function performs path validation as a separate step from the actual file read operation, creating a race window where an attacker can substitute a validated safe path with a malicious one between the check and use phases. This classic TOCTOU flaw undermines the sandbox security model by allowing symbolic link attacks, path traversal, or file replacement techniques to bypass intended filesystem isolation. The CVSS 4.0 vector indicates network attack vector with high attack complexity (AV:N/AC:H), requiring low privileges (PR:L) but no user interaction (UI:N), with high impact to both vulnerable and subsequent system confidentiality and integrity (VC:H/VI:H/SC:H/SI:H). The remote filesystem bridge likely supports distributed file operations or remote debugging capabilities, making the sandbox boundary a critical security control.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.3.31 contains a time-of-check-time-of-use race condition in the remote filesystem bridge readFile function that allows sandbox escape. Attackers can exploit the separate path validation and file read operations to bypass sandbox restrictions and read arbitrary files.
Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.31.
Executive ViewAI
OpenClaw versions before 2026.3.31 contain a sandbox escape vulnerability allowing authenticated users to read arbitrary files on the host system through a race condition in the filesystem bridge, creating risk of unauthorized access to credentials and sensitive configuration data. This vulnerability requires valid application credentials and precise timing to exploit, but if successful grants attackers access to files far beyond intended application scope. Organizations using OpenClaw must immediately inventory affected versions and restrict application access until remediation is available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access to OpenClaw to authenticated internal users only; (2) implement host-level filesystem permissions to minimize sensitive file exposure to the OpenClaw process; (3) run OpenClaw in a container or VM with read-only access to host directories outside application data; (4) disable unused filesystem bridge features if configuration permits; (5) enable verbose logging of file access attempts and audit weekly for anomalies; (6) rotate credentials for services accessible to OpenClaw-authenticated users.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Related Vulnerabilities in OpenClaw Multiple Authorization and Security Flaws
View all 14Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
GHSA-9p3r-hh9g-5cmg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB