Time-of-check Time-of-use (TOCTOU) Race Condition Affecting coreutils package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

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-RUST-COREUTILS-16297979
  • published26 Apr 2026
  • disclosed23 Apr 2026
  • creditZellic

Introduced: 23 Apr 2026

NewCVE-2026-35359  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for coreutils.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the cp process. An attacker can access sensitive file contents by exploiting a race condition where a symbolic link is swapped in place of a regular file between the time the file is checked and when it is opened, allowing the contents of arbitrary files to be copied to a location controlled by the attacker. This is only exploitable if the attacker has concurrent write access to the source path.

References

CVSS Base Scores

version 4.0
version 3.1