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.0: 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/E:U/U:Clear
CVE-ID: N/A
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 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.


Remediation

Install security update from vendor's website.

Sources