Time-of-check Time-of-use (TOCTOU) Race Condition Affecting rsync package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (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 IDSNYK-CONAN-RSYNC-16799824
  • published22 May 2026
  • disclosed20 May 2026
  • creditBatuhan SancakA, Michael Stapelberg, Damien Neil

Introduced: 20 May 2026

CVE-2026-29518  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the daemon file handling. An attacker can create or overwrite arbitrary files by replacing parent directory components with symbolic links during the window between validation and use. This is only exploitable if the chroot setting is false.

CVSS Base Scores

version 4.0
version 3.1