Skip to main content

OpenClaw CVE-2026-43529

| EUVDEUVD-2026-27269 LOW
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-05-05 VulnCheck
2.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Local actor gains workspace write access
  2. Delivery
    Create benign script in workspace
  3. Exploit
    Trigger preflight validation
  4. Install
    Perform symlink/file swap during check-read gap
  5. C2
    Preflight inspects swapped outside file
  6. Execute
    Leak metadata through preflight error or output
  7. Impact
    Infer sensitive information about outside file

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires all of the following: (1) The attacker must have write access to the target workspace directory on the same system where OpenClaw runs (local access). (2) The validateScriptFileForShellBleed function must be invoked during script execution with a script path under the workspace. (3) The attacker must successfully race-condition the file replacement between the validation stat() call and the file read operation-a narrow, timing-dependent window. (4) The attacker must have or control a target file outside the workspace to swap in (e.g., a file containing sensitive metadata or token patterns). (5) The attacker must be able to repeatedly attempt the race if the first attempt fails. These conditions significantly limit exploitation to collaborative or compromised workspace accounts; remote attackers without local system access cannot exploit this vulnerability. The vulnerability does NOT require special configuration or feature enablement-it affects default preflight validation behavior for any script execution.

Impact

CVSS 2.5 (AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N) indicates low severity due to local-only attack vector, high attack complexity (race condition timing), low privilege requirement, and confidentiality impact limited to non-sensitive file metadata. The attack complexity is unusually high for a TOCTOU: the attacker must precisely time file replacement within a narrow window between validation and read, and both the initial and swapped files must be accessible. The confidentiality impact is further constrained by the GHSA advisory, which explicitly states that the preflight validator only surfaces derived content (matched tokens, line numbers, first non-empty lines) rather than arbitrary full-file disclosure. The scenario requires the attacker to already possess write access to the workspace path, reducing the pool of viable threat actors to workspace collaborators or compromised workspace accounts. No exploitation probability score (EPSS) provided; however, the required race condition precision and limited impact (metadata leakage only, no code execution or integrity compromise) suggest low real-world exploitation likelihood. The patch is released and available, reducing ongoing risk for updated deployments.

Exploit ScenarioDerived

An attacker with write access to an OpenClaw workspace creates a benign script file that passes preflight validation (e.g., a legitimate Node.js script). Immediately after the preflight validator checks the script's workspace boundaries via stat(), the attacker replaces the script file with a symlink pointing to a file outside the workspace containing sensitive information (e.g., a file with shell variable patterns or tokens). The preflight validator reads the swapped file and surfaces metadata such as matched tokens or line numbers, leaking information about the outside file that should have been rejected by boundary checks. The race requires precise timing but is feasible in environments with high concurrency or on systems where the attacker can observe or trigger the validation process.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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

AnalysisAIv1 – May 05, 2026

OpenClaw before 2026.4.10 allows local attackers with workspace write access to bypass boundary checks via a time-of-check-time-of-use race condition in the validateScriptFileForShellBleed function. An attacker can swap the target script file between validation and preflight read, causing the validator to inspect a different file than the one that passed the initial workspace boundary check, potentially leaking preflight metadata such as matched tokens or line numbers. No public exploit code identified at time of analysis; patch available in version 2026.4.10.

RemediationAI

Upgrade to OpenClaw 2026.4.10 or newer immediately. The vendor-released patch replaces the check-then-read flow with an atomic operation using file descriptor pinning via the readFileWithinRoot helper, eliminating the TOCTOU window. Users on older versions should prioritize this upgrade since the fix involves core script execution security. No workarounds exist for versions prior to 2026.4.10 without modifying the application code. If upgrading is delayed, restrict workspace write access to trusted users only and monitor for suspicious symlink or file-replacement activity in workspace directories during script execution. See patch commit b024fae9e5df43e9b69b2daebb72be3469d52e91 and PR #62333 at https://github.com/openclaw/openclaw/pull/62333.

Affected VersionsENISA

OpenClaw 0 <2026.4.10

Affected Packages

npm openclaw fix: 2026.4.10

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 exec script preflight validator performs separate validation and file-read operations on script files using mutable pathnames. The vulnerable validateScriptFileForShellBleed function first validates that a script resides within the workspace boundary, then reads and analyzes the script content by path. Because the file is accessed by pathname rather than by a pinned file descriptor, an attacker with write permissions to the workspace directory can replace the validated script file with a different file (via symlink or atomic replacement) after the boundary check but before the preflight read. The root cause (CWE-367: Improper Synchronization / Time-of-Check-Time-of-Use Race Condition) stems from the gap between checking file identity via stat() and reading the file via path-based access. The fix atomically pins the file descriptor after boundary verification, using the readFileWithinRoot helper to perform boundary checks on the opened file identity rather than relying on the mutable pathname.

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

Vendor (VulnCheck) PRIMARY 2.0 LOW
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
CVSS changed
May 05, 2026 - 12:37 NVD
2.5 (LOW) 2.0 (LOW)

DescriptionCVE.org

OpenClaw before 2026.4.10 contains a time-of-check-time-of-use vulnerability in the validateScriptFileForShellBleed function that allows local attackers to bypass workspace boundary checks. An attacker with workspace write access can race-condition swap the target file between validation and preflight read, causing the validator to inspect a different file identity than the one that passed the initial boundary check.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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.

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-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

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

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