Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - CVE-2026-41338
Published: April 30, 2026
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.