All vulnerabilities

Servers and applications

CVE-2026-70460

rsync: Daemon module-root escape through a peer-supplied --partial-dir / --backup-dir resolving via an in-module symlink

Severity
Critical 9.2
Published
13 Aug 2026
Last changed
6 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.5.0
Exploit chance
0.4% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)Link following (CWE-59)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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-w3xf-j2r2-gv4x
Sources
NVD, Project advisories (GitHub)

Description

Operator-supplied DIRECTORY options are resolved with an ownership walk that follows a symlink component only when it is owned by uid 0 or by the process euid. On a DAEMON that ownership test is not sufficient on its own: an in-module symlink owned by uid 0 or by the daemon euid is followed by design, so a peer-supplied --partial-dir or --backup-dir whose literal value passes the daemon filter check could resolve THROUGH that symlink to a location outside the module's own path.

PRECONDITIONS, which bound this considerably:

  • A symlink the ownership rule ALREADY trusts (owned by uid 0 or by the daemon euid) must exist at a point the peer can route through. The peer does not get to plant it; that is what makes this AC:H.
  • Default symlink munging makes remotely received symlinks inert, and even with munging disabled an unchrooted daemon still sanitizes received symlink targets.
From RsyncProject/rsync's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
rsyncServers and applications · cpe:a:samba:rsync
  • From 2.3.3 before 3.5.0
rsyncServers and applications · github:rsyncproject/rsync
  • From 2.3.3 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-70460
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-70460
  • GitHub Advisory Database https://github.com/advisories/GHSA-w3xf-j2r2-gv4x
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-w3xf-j2r2-gv4x