Skip to main content

OpenClaw CVE-2026-41296

HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-04-21 disclosure@vulncheck.com GHSA-9p3r-hh9g-5cmg
8.8
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to remote filesystem bridge
  2. Delivery
    Send crafted readFile request
  3. Exploit
    Win TOCTOU race via path substitution
  4. Execution
    Read arbitrary file outside sandbox
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Apr 21, 2026 - 00:38 CVSS 8.8

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

npm openclaw fix: 2026.3.31

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

NVD PRIMARY 8.8 HIGH
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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 21, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 21, 2026 - 00:16 nvd
HIGH 8.8

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on openclaw (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.31.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy