All vulnerabilities

Servers and applications

CVE-2026-53797

rsync: sender source-tree parent-component symlink race -> out-of-tree disclosure

Severity
Medium 5.7
Published
13 Aug 2026
Last changed
24 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.5.0
Exploit chance
0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Link following (CWE-59)Time-of-check time-of-use race condition (CWE-367)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-3jj3-qvc7-jp6x
Sources
NVD, Project advisories (GitHub)

Description

A local/non-daemon sender opened each transferred file's content by path (O_NOFOLLOW on the leaf only). A parent component an unprivileged user raced from a real directory to a symlink->outside after the file-list scan was then followed, so a higher-authority sender -- a root nightly backup, or a victim copying an attacker's tree -- read and copied a file from OUTSIDE the source tree into a destination the attacker can read (information disclosure of files the attacker could not otherwise read).

Fix: for default symlink handling, open the content through secure_relative_open(O_RDONLY|O_NOFOLLOW) anchored at the transfer root, so a parent that escaped the tree is refused; the symlink-following modes (-L, --copy-unsafe-links, -k) still follow, and --insecure-links restores the legacy open. The daemon sender was already module_dir-anchored.

Test: symlink-race-source.

Affected: rsync 3.4.3 and earlier; fixed in 3.5.0. (Precise introduced-in ranges being finalised.)

From RsyncProject/rsync's security advisory.

Affected software

SoftwareAffected versions
rsyncServers and applications · cpe:a:samba:rsync
  • Every version before 3.5.0
rsyncServers and applications · github:rsyncproject/rsync
  • Every version before 3.5.0

About rsync

file synchronization protocol and software

From Wikidata, CC0 1.0.
GitHub stars
5,367GitHub, 15 Nov 2026
Forks
631GitHub, 15 Nov 2026
Latest release
v3.5.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
Developer
Andrew TridgellWikidata
Written in
CWikidata
First released
19 Jun 1996Wikidata
First published on GitHub
25 May 2020GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-53797
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53797
  • GitHub Advisory Database https://github.com/advisories/GHSA-3jj3-qvc7-jp6x
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-3jj3-qvc7-jp6x