Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - #VU125110

 

Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - #VU125110

Published: April 8, 2026


Vulnerability identifier: #VU125110
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to create or truncate files outside the configured root boundaries.

The vulnerability exists due to time-of-check time-of-use race condition in writeFileWithinRoot when handling an attacker-controlled path alias during file write operations. A local user can retarget a symlink between resolution and write operations to create or truncate files outside the configured root boundaries.


Affected software

OpenClaw

Remediation

Install security update from vendor's website.

OpenClaw - update to 2026.3.1

External References

Related Security Bulletins