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

 

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

Published: April 30, 2026


Vulnerability identifier: #VU128598
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/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 disclose limited information from a different file than the one that passed validation.

The vulnerability exists due to a time-of-check time-of-use race condition in validateScriptFileForShellBleed when validating and then reading a script by mutable pathname. A local user can swap the target path between validation and read to disclose limited information from a different file than the one that passed validation.

The exposed data is limited to derived preflight content such as a matched token, a line number, or the first non-empty JavaScript line in one branch.


Remediation

Install security update from vendor's website.

Sources