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.14% (4th 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-CONAN-RSYNC-16771097
  • published20 May 2026
  • disclosed20 May 2026
  • credittridge

Introduced: 20 May 2026

NewCVE-2026-43619  (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 via the timing window between path resolution and syscall execution in operations such as chmod, lchown, utimes, rename, unlink, mkdir, symlink, mknod, link, rmdir, and lstat. An attacker can modify files outside the intended module boundary by swapping symlinks to redirect operations and apply sender-supplied permissions, ownership, timestamps, or filenames to arbitrary files. This is only exploitable if the rsync daemon is configured with 'use chroot = no'.

CVSS Base Scores

version 4.0
version 3.1