Description

rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.

Severity (CVSS)

Base score8.2
SeverityHigh
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-59 — CWE-59 Improper Link Resolution Before File Access ('Link Following')
  • CWE-367 — CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected products

VendorProductVersions
RsyncProjectrsync0 to <=3.4.4; 3.5.0

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 14 Aug 2026 07:02 UTC.