Time-of-check Time-of-use (TOCTOU) Race Condition Affecting openclaw package, versions <2026.3.11


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Time-of-check Time-of-use (TOCTOU) Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-OPENCLAW-15627445
  • published15 Mar 2026
  • disclosed13 Mar 2026
  • credittdjackey

Introduced: 13 Mar 2026

New CVE NOT AVAILABLE CWE-367  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.3.11 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition through the handling of temporary file creation and population in the sandboxed file system bridge. An attacker can write arbitrary data outside the intended validated directory by exploiting a race condition in parent-path aliasing before the final guarded replace step.

References

CVSS Base Scores

version 4.0
version 3.1