Servers and applications
CVE-2026-53800
rsync: --remove-source-files unlink follows a parent-component symlink race -> file deletion outside the source tree
- 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
- Attack
- Needs local access · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/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-v3vw-pvpg-chwh
- Sources
- NVD, Project advisories (GitHub)
Description
With --remove-source-files the sender unlinks each source file once it has been transferred. successful_send() resolved that unlink (and its same-file safety re-stat) by path -- a plain do_stat/do_lstat and do_unlink on the name, relative to the process CWD that change_pathname() had chdir'd into (so on Cygwin, where the CWD is re-resolved by name, even the chdir'd anchor was path-based). An unprivileged user who controls a component of the source tree races a parent directory from a real directory to a symlink->outside AFTER the file was scanned/sent, so the post-send unlink is redirected and the sender deletes a file OUTSIDE the served module / source tree.
Reachable two ways: a client pulling from a daemon module with refuse options not blocking --remove-source-files (the daemon, possibly running as root, does the delete), and a higher-authority local sender -- the canonical case rsync --remove-source-files -a /src/ remote: run by root over a tree with an attacker-controlled…
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-53800
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53800
- GitHub Advisory Database https://github.com/advisories/GHSA-v3vw-pvpg-chwh
- github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-v3vw-pvpg-chwh