Servers and applications
CVE-2026-53785
rsync: --relative implied-parent creation escapes the destination tree
- Severity
- Medium 6.9
- Published
- 13 Aug 2026
- Last changed
- 6 Nov 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 3.5.0
- Exploit chance
- 0.2% in the next 30 daysHigher than 14% 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
- Change data · Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/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-pph3-7xmf-rrqg
- Sources
- NVD, Project advisories (GitHub)
Description
Under --relative (-R) the receiver re-creates the implied parent directories of each transferred path via make_path(), which built the parent chain with a plain mkdir() on the full multi-component path. A symlink planted at any parent component was followed, so the new directories (and the file) were created at the symlink's target, outside the destination tree.
Fix: route make_path()'s parent-chain creation through the held-directory-fd creation primitive so each component is confined beneath the destination.
Tests: relative-mkpath-symlink, relative-mkpath-dir-symlink.
Credit: Omar Elsayed (seks99x).
Affected: rsync 3.4.3 and earlier; fixed in 3.5.0. (Precise introduced-in ranges being finalised.)
Affected software
| Software | Affected versions |
|---|---|
rsyncServers and applications · cpe:a:samba:rsync |
|
rsyncServers and applications · github:rsyncproject/rsync |
|
About rsync
file synchronization protocol and software
- 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
Vulnerabilities in rsync
- In our list
- 58
- Published in the last 12 months
- 41
- Critical, last 12 months
- 5
- High, last 12 months
- 22
- Known exploited
- 0
- CVE-2026-119741Crafted checksum collisions can exhaust sender CPUHigh 8.7 3 Nov 2026
- CVE-2026-70464rsync: Unauthenticated pre-transfer handshake DoS locks out an rsync daemon moduleHigh 8.7 13 Aug 2026
- CVE-2026-70463rsync: "auth users" ignores documented comma-only parsing, silently skipping a deny/read-only ruleHigh 8.6 13 Aug 2026
- CVE-2026-70462rsync: Peer-supplied MSG_IO_TIMEOUT defeats the client's own I/O timeout (signed overflow, and a non-positive value)High 7.1 13 Aug 2026
- CVE-2026-70461rsync: Peer-driven one-byte heap out-of-bounds write in add_implied_include()High 8.8 13 Aug 2026
- CVE-2026-70460rsync: Daemon module-root escape through a peer-supplied --partial-dir / --backup-dir resolving via an in-module symlinkCritical 9.2 13 Aug 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-53785
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53785
- GitHub Advisory Database https://github.com/advisories/GHSA-pph3-7xmf-rrqg
- github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-pph3-7xmf-rrqg