Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OpenClaw container
-
DeliveryPrepare symlink structure in mount parent
-
ExploitTrigger file read operation
-
ExecutionSwap symlink target during TOCTOU window
-
PersistRead system file outside mount root
-
ImpactExfiltrate sensitive data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires the following concrete conditions: (1) Authenticated access to OpenClaw with OpenShell container privileges (PR:L per CVSS vector). (2) Filesystem write access within or adjacent to the sandbox mount point to create and manipulate symlinks. (3) Precise timing to swap symlinks between the path validation check and the file open syscall - the TOCTOU window is small but exploitable with multi-threaded or multi-process coordination. (4) Knowledge of target file paths outside the mount root. The vulnerability does NOT affect unauthenticated remote users or users without write access to the filesystem. Default configurations of OpenClaw with restrictive permission models may not expose this - exploitation requires both read and write access to sandbox-adjacent paths. |
| Impact | CVSS 6.0 with network vector (AV:N) and high confidentiality impact (VC:H) indicates moderate real-world risk, though the attack complexity is high (AC:H) and requires authentication (PR:L). The network vector appears inconsistent with the TOCTOU race condition nature, which typically requires local filesystem access; verification with vendor confirms attack scope. EPSS data not provided. No public exploit identified at time of analysis, and no CISA KEV listing confirms this is not actively exploited in the wild. The vulnerability is narrowly scoped to authenticated users with sandbox access and requires precise timing of symlink swaps, limiting practical exploitation despite the theoretical high-confidentiality impact. Patch availability (2026.4.22) significantly reduces real-world risk for maintained deployments. The tagging as 'Authentication Bypass' may be misleading - this is a sandbox escape/file disclosure, not authentication bypass. |
| Exploit ScenarioDerived | An authenticated user with access to an OpenShell sandbox container could prepare a controlled directory structure containing target files and symlinks. During a file read operation, the attacker rapidly swaps symlinks in parent directories to redirect the read operation to a sensitive file outside the intended mount root (e.g., /etc/passwd or application secrets). The race condition window - between path validation and actual file open - allows the swap to succeed, causing bytes from the out-of-bounds file to be returned to the attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
OpenClaw before 2026.4.22 contains a time-of-check/time-of-use (TOCTOU) race condition in the OpenShell filesystem bridge that allows authenticated attackers with local access to read files outside the intended mount root by performing symlink swaps during filesystem operations. The vulnerability affects sandbox security guarantees by enabling bypass of containment restrictions through coordinated symlink manipulation, and has been confirmed patched in version 2026.4.22.
RemediationAI
Vendor-released patch: OpenClaw 2026.4.22. Upgrade immediately to 2026.4.22 or later. Run npm update openclaw or npm install openclaw@2026.4.22 to pull the patched version. The fix is confirmed published on npm and contains the full mitigation code that pins file descriptors, validates against canonical roots, and implements ancestor chain checks. No workarounds are available for prior versions - the TOCTOU window is fundamental to the old implementation. If immediate upgrade is not possible, restrict access to OpenShell containers and disable filesystem bridge features that are not required, though this provides only partial mitigation and is not a substitute for patching.
Affected VersionsENISA
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
The OpenShell filesystem bridge in OpenClaw implements a sandbox layer that restricts file access to specific mount roots. The vulnerability exists in the file read path where the bridge performed path safety validation (time-of-check) followed by a separate file open and read operation (time-of-use), creating a TOCTOU window. An attacker could swap symlinks in parent directories between validation and the actual file access, redirecting reads to arbitrary files outside the sandbox boundary. The root cause is CWE-367 (Time-of-check/Time-of-use Race Condition). The fix addresses this by pinning file descriptors immediately after opening (using O_NOFOLLOW semantics where available), validating against the canonical mount root using kernel-backed fd-path readback, and implementing a strict ancestor chain walk on platforms lacking fd-path support (macOS, Windows) to prevent parent-directory symlink races.
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:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Primary rating from Vendor (vulncheck) · only source for this CVE.
CVSS VectorVendor: vulncheck
Lifecycle Timeline
4DescriptionCVE.org
OpenClaw before 2026.4.22 contains a time-of-check/time-of-use race condition in the OpenShell filesystem bridge that allows attackers to read files outside the intended mount root. Attackers can exploit symlink swaps during filesystem operations to bypass sandbox restrictions and access unauthorized file contents.
Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.4.22.
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.
Auth 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
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
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
EUVD-2026-28192
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB