Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Impact | Real-world risk is moderate despite the High CVSS score. The attack vector is local (AV:L) requiring authenticated access (PR:L), significantly limiting the attack surface compared to remote vulnerabilities. Attack complexity is High (AC:H), indicating the race condition requires precise timing and likely multiple attempts to successfully exploit. However, the Scope Change (S:C) metric is critical - this indicates the vulnerability can affect resources beyond its security scope, consistent with sandbox escape scenarios where containerized processes could write to the host filesystem. No EPSS score is provided in the input data, and no CISA KEV listing exists, suggesting this is not yet observed in active exploitation campaigns. No public exploit code is confirmed from available references, though proof-of-concept development is feasible given the well-documented nature of TOCTOU vulnerabilities. The SSVC framework would likely categorize this as requiring monitoring rather than immediate emergency patching for most deployments, unless OpenClaw is deployed in high-security containerized environments where sandbox integrity is mission-critical. Organizations using OpenClaw in untrusted multi-tenant scenarios should prioritize remediation due to the integrity and availability impact (I:H/A:H) enabling potential data corruption or denial of service. |
| Exploit ScenarioDerived | An attacker with authenticated local access to a system running vulnerable OpenClaw versions gains a shell within a sandboxed container environment. They initiate a legitimate file write operation through OpenClaw's fs-bridge API to trigger staged write functionality. Simultaneously, they run a parallel process that rapidly cycles symbolic link creation and directory manipulation targeting the parent path used by OpenClaw's temporary file staging. By winning the race condition between path validation and temporary file population, the attacker redirects the write operation to a critical system path outside the sandbox boundary, such as /etc/cron.d/ or container runtime configuration directories. This enables persistence mechanisms, privilege escalation via cron job injection, or denial of service by corrupting essential configuration files. The High attack complexity means success requires precise timing and likely automation, but skilled attackers familiar with TOCTOU exploitation techniques could achieve reliable exploitation with repeated attempts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Sandbox escape in OpenClaw (before version 2026.3.11) allows local authenticated users to write arbitrary files outside validated directories via a TOCTOU race condition during staged file writes. The fs-bridge component fails to anchor temporary file operations to verified parent directories, enabling attackers to manipulate path aliases between validation and execution phases. CVSS 7.5 (High) reflects the local attack vector with high complexity, but scope change (S:C) indicates potential container/sandbox breakout. No public exploit identified at time of analysis, though the race condition vulnerability class (CWE-367) is well-understood by attackers.
RemediationAI
Upgrade to OpenClaw version 2026.3.11 or later, which addresses the race condition by implementing proper parent directory anchoring during temporary file operations. The vendor has released patches available through the official GitHub repository. Consult the security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-mj4p-rc52-m843 for upgrade instructions and release notes. As a temporary mitigation for systems unable to immediately upgrade, implement additional filesystem-level controls such as restricting write permissions in directories accessible to OpenClaw processes, enabling audit logging for filesystem operations outside expected paths, and deploying mandatory access control policies (SELinux/AppArmor) to constrain process capabilities. Note that workarounds do not eliminate the race condition and should only be considered temporary risk reduction measures. Additional technical details are available in the VulnCheck advisory at https://www.vulncheck.com/advisories/openclaw-sandbox-boundary-bypass-via-unvalidated-temporary-file-creation.
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
This vulnerability affects the fs-bridge component in OpenClaw, a sandbox-oriented filesystem abstraction layer. The flaw is rooted in CWE-367 (Time-of-Check Time-of-Use race condition) where the software validates a parent directory path, then creates and populates temporary files without maintaining a file descriptor lock or canonical path anchor to the verified location. Between validation and the final atomic replace operation, an attacker with local filesystem access can manipulate symbolic links, mount points, or directory renames to redirect the temporary file write to an arbitrary location outside the sandbox boundary. The CPE identifier cpe:2.3:a:openclaw:openclaw indicates this affects the core OpenClaw application framework. Staged writes are common in sandboxed environments to ensure atomic updates, but without proper TOCTOU protections (such as openat() with O_NOFOLLOW or maintaining open directory file descriptors throughout the operation), the gap between check and use becomes exploitable.
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:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.3.11 contains a sandbox boundary bypass vulnerability in fs-bridge staged writes where temporary file creation and population are not pinned to a verified parent directory. Attackers can exploit a race condition in parent-path alias changes to write attacker-controlled bytes outside the intended validated path before the final guarded replace step executes.
Blast Radius
ecosystem impact- 3 npm packages depend on openclaw (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.11.
Executive ViewAI
OpenClaw versions before 2026.3.11 contain a sandbox escape vulnerability allowing authenticated local users to write arbitrary files through a timing-based race condition in file operations. This vulnerability poses significant risk to containerized and sandboxed deployments, as successful exploitation could enable attackers to break out of security boundaries and compromise host systems or adjacent workloads.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict local system access to OpenClaw processes via OS-level privilege separation; (2) Monitor and log file operations in temporary directories used by fs-bridge component; (3) Isolate OpenClaw in containers with restrictive seccomp or AppArmor profiles to limit sandbox escape impact; (4) Disable or restrict access to OpenClaw for non-essential local user accounts; (5) Monitor vendor advisories closely for patch availability and apply immediately upon release.
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.
Related Vulnerabilities in OpenClaw Authorization and Command Injection Flaws
View all 22Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
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-17388
GHSA-j69p-564m-x3gh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB