Time-of-check Time-of-use (TOCTOU) Race Condition Affecting openclaw package, versions <2026.3.31-beta.1


Severity

Recommended
0.0
critical
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-15893698
  • published4 Apr 2026
  • disclosed3 Apr 2026
  • creditUnknown

Introduced: 3 Apr 2026

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

How to fix?

Upgrade openclaw to version 2026.3.31-beta.1 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 in the readFile process of the remote file system bridge due to a time-of-check to time-of-use (TOCTOU) race condition. An attacker can gain unauthorized access to files outside the intended sandbox by exploiting the window between the path validation and the actual file read operation.

CVSS Base Scores

version 4.0
version 3.1