Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OpenClaw agent
-
DeliveryCreate symlink within workspace
-
ExploitInitiate writeFile operation
-
ExecutionSwap symlink target during TOCTOU window
-
PersistWrite redirected outside mount root
-
ImpactAttain filesystem access beyond sandbox boundary
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | The attacker must have authenticated access to an OpenClaw agent with OpenShell backend enabled and the ability to create or manipulate symlinks within the sandbox workspace directory. Exploitation requires local filesystem access (not remote), the ability to perform filesystem operations with precise timing to swap symlinks during a writeFile call, and knowledge of the workspace mount root location. The vulnerability does not affect configurations using alternative filesystem backends (non-OpenShell) or deployments where workspace directories are read-only or do not permit symlink creation. The attacker cannot exploit this without credentials, without local filesystem access to the workspace, or on systems with symlink restrictions enforced at the OS level. |
| Impact | CVSS 6.0 with AC:H (attack complexity high) and AT:P (attack time periodic) indicates this is a conditional vulnerability requiring timing precision and repeated attempts. The CVSS vector shows PR:L (requires low privilege/authentication), limiting the threat model to authenticated users with sandbox access, not unauthenticated remote attackers. The integrity impact is high (VI:H) but confidentiality and availability are not affected. Despite the 6.0 CVSS score, real-world exploitation is constrained by three factors: (1) the attacker must have local filesystem access within the sandbox workspace to create/swap symlinks, (2) the race window is narrow and timing-dependent (hence AC:H, AT:P), and (3) the fix is already available and patch adoption is straightforward. This is a real privilege-escalation/sandbox-escape risk within OpenClaw deployments but not a widespread internet-facing vulnerability. No KEV listing or public POC identified; the vulnerability appears to be reporter-credited (VladimirEliTokarev) without public exploitation tools. The straightforward patch path (upgrade to 2026.4.22) and authenticated-only attack surface reduce operational urgency compared to unauthenticated remote code execution, but deployment teams using OpenClaw for sensitive sandbox operations should prioritize patching. |
| Exploit ScenarioDerived | An authenticated user with access to an OpenClaw sandbox workspace creates a malicious symlink pointing outside the workspace root (e.g., 'workspace/alias' → '/etc'). During a writeFile operation targeting a path like 'workspace/alias/escape.txt', the attacker leverages the race condition between the directory validation check and the atomic rename operation to swap the symlink target, causing the write to land in '/etc/escape.txt' on the host instead of inside the sandbox. No known public POC exists at the time of analysis. |
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 race condition in OpenShell sandbox filesystem writes that allows authenticated attackers to redirect file writes outside the intended mount root via symlink swaps. By exploiting the window between sandbox validation and actual file write operations, an attacker with local access can manipulate symlinks to bypass sandbox filesystem restrictions and write arbitrary files to locations outside the workspace.
RemediationAI
Upgrade OpenClaw to version 2026.4.22 or later by running 'npm install openclaw@2026.4.22' or updating package.json and reinstalling. The patch is confirmed published on npm and contained in the v2026.4.22 git tag (commit 7be82d4fd1193bcb7e44ee38838f00bf924ffa76). No interim workarounds are available without code patching. For environments unable to update immediately, restrict filesystem write permissions within OpenClaw sandbox workspaces to non-symlink paths and monitor for suspicious symlink creation in workspace directories, though this is not a robust compensating control. Verify the fix by checking that openclaw@2026.4.22 is installed and confirming the fs-bridge.ts file imports and uses writeFileWithinRoot from the plugin SDK. Refer to the GitHub advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-wppj-c6mr-83jj for additional verification steps.
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
OpenClaw's OpenShell component implements a filesystem bridge (fs-bridge.ts) that mediates write operations between a sandboxed container and the host filesystem. The vulnerability stems from CWE-367 (time-of-check/time-of-use race condition) in the writeFile method, which previously created a temporary file in the parent directory, then atomically renamed it to the target path. An attacker could exploit the interval between the directory traversal check and the rename operation by swapping symlinks, redirecting the write to a parent-relative path outside the mountHostRoot boundary. The fix implements root-scoped validation by calling writeFileWithinRoot, which verifies the canonical target path against the mount root before performing any filesystem operations and rejects writes attempting to traverse symlink parents or target symlinks.
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:N/VI:H/VA:N/SC:N/SI:H/SA:H
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 OpenShell sandbox filesystem writes that allows attackers to redirect writes outside the intended mount root. Attackers can exploit symlink swaps during filesystem operations to bypass sandbox restrictions and write files outside the local mount root.
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-28190
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB