Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - CVE-2026-41338

 

Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - CVE-2026-41338

Published: April 30, 2026


Vulnerability identifier: #VU128632
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-41338
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: OpenClaw
Affected software:
OpenClaw

Detailed vulnerability description

The vulnerability allows a local user to bypass sandbox file operation protections.

The vulnerability exists due to a check-then-act race condition in sandbox workspace file operations when performing apply_patch, remove, or mkdir operations. A local user can manipulate filesystem state between the check and the act to bypass sandbox file operation protections.

The issue is limited to the sandbox-workspace mutation boundary.


How to mitigate CVE-2026-41338

Install security update from vendor's website.

Sources