8.5high
rsync < 3.5.0 Symlink Following Arbitrary File Overwrite
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
rsync before 3.5.0 contains a symlink following vulnerability that allows local attackers to overwrite arbitrary files by placing a symlink at a predictable output path such as --log-file, --write-batch, or daemon-mode log and statistics paths. Attackers can exploit rsync's failure to reject symlinks during ancillary file writes to redirect output to arbitrary filesystem locations, achieving local privilege escalation on installations where rsync runs with elevated privileges such as setuid or privileged daemon configurations.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rsync | up to 3.4.4 Not affected: 3.5.0 | CVE List |
| samba rsync | before 3.5.0 | NVD |
All scores
| VulnCheck | 8.5high CVSS:4.0 | 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 |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
rsync before 3.5.0 contains a symlink following vulnerability that allows local attackers to overwrite arbitrary files by placing a symlink at a predictable output path such as --log-file, --write-batch, or daemon-mode log and statistics paths. Attackers can exploit rsync's failure to reject symlinks during ancillary file writes to redirect output to arbitrary filesystem locations, achieving local privilege escalation on installations where rsync runs with elevated privileges such as setuid or privileged daemon configurations.
NVD (es)
rsync anterior a la versión 3.5.0 contiene una vulnerabilidad de seguimiento de enlaces simbólicos que permite a atacantes locales sobrescribir archivos arbitrarios al colocar un enlace simbólico en una ruta de salida predecible como --log-file, --write-batch, o rutas de registro y estadísticas en modo demonio. Los atacantes pueden exploit el fallo de rsync al rechazar enlaces simbólicos durante escrituras de archivos auxiliares para redirigir la salida a ubicaciones arbitrarias del sistema de archivos, logrando escalada de privilegios local en instalaciones donde rsync se ejecuta con privilegios elevados como setuid o configuraciones de demonio privilegiado.
References
| https://github.com/RsyncProject/rsync/security/advisories/GHSA-g9f4-7q66-9582 | vendor-advisory | |
| https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 | product, release-notes | |
| https://www.vulncheck.com/advisories/rsync-symlink-following-arbitrary-file-overwrite | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53803 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-53803 changed 2026-10-24 | Public domain |