All vulnerabilities

Servers and applications

CVE-2026-53799

rsync: receiver ACL/xattr metadata apply follows a symlink race -> arbitrary ACL set (local privilege escalation)

Severity
High 7.2
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 2% 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 · Change data
CVSS vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/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-phxh-hjqv-39c9
Sources
NVD, Project advisories (GitHub)

Description

When preserving metadata (-A/--acls, -X/--xattrs, or fake-super ACL-as-xattr), the receiver applied the received ACL/xattrs to each entry by path, via acl_set_file()/setxattr() (and the libacl walk re-resolves every component). A local user who controls a path component races the entry an unprivileged user just received -- a regular file, dir or FIFO -- into a symlink->outside AFTER the receiver created it but BEFORE the metadata apply, so the ACL set follows the flipped leaf (or a flipped parent) and writes an attacker-chosen ACL onto a victim inode OUTSIDE the destination tree. The attacker controls the ACL bytes (they are carried in the source entry), so this grants the attacker rwx on a root-owned file -- a local privilege escalation, not just a write. A raced FIFO could also block the apply (DoS).

Fix: hold an O_RDONLY|O_NOFOLLOW (O_NONBLOCK) fd pinning each entry's inode and apply all metadata to the pinned inode rather than re-resolving the path: xattrs via the f-variant…

From RsyncProject/rsync's security advisory. Shortened; the full text is there.

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-53799
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53799
  • GitHub Advisory Database https://github.com/advisories/GHSA-phxh-hjqv-39c9
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-phxh-hjqv-39c9