All vulnerabilities

Servers and applications

CVE-2026-53803

rsync: arbitrary file write / privilege escalation via symlinked operator-supplied output paths

Severity
High 8.5
Published
13 Aug 2026
Last changed
24 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.5.0
Exploit chance
0.2% in the next 30 daysHigher than 13% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Link following (CWE-59)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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-g9f4-7q66-9582
Sources
NVD, Project advisories (GitHub)

Description

--log-file, --write-batch/--read-batch, and the daemon ancillary opens (motd, lock file, early-input file, --config rsyncd.conf) opened their paths without symlink confinement. A planted symlink at the path (or a parent component, the /tmp// case that a leaf-only O_NOFOLLOW does not defend) redirects the write: e.g. appending the rsync log to /root/.ssh/authorized_keys for privilege escalation, or truncating an arbitrary file via --write-batch. For --read-batch a planted symlink/FIFO/device also let an attacker feed chosen bytes to the protocol parser.

Fix: the same trusted-owner path walk; plus an S_ISREG check on the opened --read-batch file.

Tests: log-file-symlink, batch-file-symlink, daemon-config-symlink.

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-53803
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53803
  • GitHub Advisory Database https://github.com/advisories/GHSA-g9f4-7q66-9582
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-g9f4-7q66-9582