7.3high
Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write
- Severity
- 7.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| RsyncProject rsync | before 3.4.3 | CVE List |
| rsync | Not specified Not affected: from 0:3.4.4-1.el10_2 before *, from 0:3.1.3-27.el8_10 before *, from 0:3.2.5-7.el9_8.2 before * | CVE List |
| rhcos | Not specified Not affected: from 4.22.9.8.202608130832-0 before * | CVE List |
| discovery/discovery-ui-rhel9 | Not specified Not affected: from 1782166952 before * | CVE List |
| samba rsync | before 3.4.3 | NVD |
All scores
| VulnCheck | 7.3high CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.
NVD (es)
Las versiones de Rsync anteriores a la 3.4.3 contienen una condición de carrera de tiempo de verificación a tiempo de uso (TOCTOU) en el manejo de archivos del demonio que permite a los atacantes redirigir escrituras de archivos fuera de los directorios previstos reemplazando componentes de directorios padre con enlaces simbólicos. Los atacantes con acceso de escritura a una ruta de módulo pueden explotar esta condición de carrera para crear o sobrescribir archivos arbitrarios, modificando potencialmente archivos sensibles del sistema y logrando la escalada de privilegios cuando el demonio se ejecuta con privilegios elevados. Esta vulnerabilidad solo puede activarse si la configuración de chroot es falsa.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-29518 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-29518 changed 2026-08-19 | Public domain |