5.7medium
rsync < 3.5.0 Symlink Race Condition via --remove-source-files
- Severity
- 5.7medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
rsync before 3.5.0 contains a symlink race condition vulnerability in the --remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| RsyncProject rsync | up to 3.4.4 Not affected: 3.5.0 | CVE List |
| samba rsync | before 3.5.0 | NVD |
All scores
| VulnCheck | 5.7medium CVSS:4.0 | 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 |
| VulnCheck | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
rsync before 3.5.0 contains a symlink race condition vulnerability in the --remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.
NVD (es)
rsync anterior a la versión 3.5.0 contiene una vulnerabilidad de condición de carrera de enlace simbólico en la característica --remove-source-files que permite a atacantes con acceso a la creación de enlaces simbólicos causar la eliminación arbitraria de archivos. Los atacantes pueden sustituir atómicamente un enlace simbólico por un archivo de origen entre la finalización de la transferencia y la llamada a unlink(), haciendo que rsync elimine el objetivo del enlace simbólico en lugar del archivo de origen previsto.
References
| https://github.com/RsyncProject/rsync/security/advisories/GHSA-v3vw-pvpg-chwh | vendor-advisory | |
| https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 | product, release-notes | |
| https://www.vulncheck.com/advisories/rsync-symlink-race-condition-via-remove-source-files | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53800 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-53800 changed 2026-10-24 | Public domain |