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: 5.7 [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]
CVE-ID: CVE-2026-41338
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

OpenClaw

How to mitigate CVE-2026-41338

Install security update from vendor's website.

OpenClaw - update to 2026.3.31

External References

Related Security Bulletins