Skip to main content
VulnerabilityPublished Updated

Openclaw cli: OpenClaw's TOCTOU symlink race

Affects openclaw-cliSource GCVE Database

0

CVSS 8.7 High : upgrade to 2026.3.1 soon.

Data as of 19 Nov 2026, 19:34 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2026.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

What to do

Upgrade openclaw-cli to 2026.3.1.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • >=2026.1.29 <2026.3.1
Fixed in
  • 2026.3.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in OpenClaw CLI version 2026.3.1 that addresses this TOCTOU symlink race. Users should upgrade to version 2026.3.1 or later to mitigate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.

Description

A time-of-check to time-of-use (TOCTOU) symlink race condition exists in OpenClaw CLI's writeFileWithinRoot function. This vulnerability allows an attacker to manipulate a symlink path between resolution and file write operations, potentially causing file creation or truncation outside the intended root directory. The issue affects versions up to 2026.2.26 and is fixed in version 2026.3.1 by changing the file write flow to include post-open identity and boundary checks and exclusive file creation semantics.

References

Community reviews

Loading reviews…