#VU125107 Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - CVE-2026-31997

 

#VU125107 Time-of-check Time-of-use (TOCTOU) Race Condition in OpenClaw - CVE-2026-31997

Published: April 8, 2026


Vulnerability identifier: #VU125107
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31997
CWE-ID: CWE-367
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
OpenClaw
Software vendor:
OpenClaw

Description

The vulnerability allows a remote user to execute a different executable than the operator approved.

The vulnerability exists due to a time-of-check time-of-use race condition in node system.run approvals when resolving non-path-like argv[0] PATH tokens for host=node runs. A remote user can change PATH resolution after approval to execute a different executable than the operator approved.

The issue affects previously approved actions that use non-path-like command tokens such as tr.


Remediation

Install security update from vendor's website.

External links