6.9medium
rsync < 3.5.0 Privilege Confusion via name-converter uid/gid mapping
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.31% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
rsync before 3.5.0 contains a privilege confusion vulnerability in the name-converter subprocess uid/gid mapping that allows local attackers to cause transferred files to be owned by root by influencing name-converter responses to return empty values. When the name-converter subprocess returns an empty response for a uid or gid lookup, rsync incorrectly interprets it as a successful resolution to uid/gid 0 (root) rather than a lookup failure, and if the name-converter also signals fake super-user status, rsync proceeds with root ownership assignments for transferred files.
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 | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
rsync before 3.5.0 contains a privilege confusion vulnerability in the name-converter subprocess uid/gid mapping that allows local attackers to cause transferred files to be owned by root by influencing name-converter responses to return empty values. When the name-converter subprocess returns an empty response for a uid or gid lookup, rsync incorrectly interprets it as a successful resolution to uid/gid 0 (root) rather than a lookup failure, and if the name-converter also signals fake super-user status, rsync proceeds with root ownership assignments for transferred files.
NVD (es)
rsync anterior a la versión 3.5.0 contiene una vulnerabilidad de confusión de privilegios en el mapeo de uid/gid del subproceso name-converter que permite a atacantes locales hacer que los archivos transferidos sean propiedad de root al influir en las respuestas del name-converter para que devuelvan valores vacíos. Cuando el subproceso name-converter devuelve una respuesta vacía para una búsqueda de uid o gid, rsync lo interpreta incorrectamente como una resolución exitosa a uid/gid 0 (root) en lugar de un fallo de búsqueda, y si el name-converter también señala un estado de superusuario falso, rsync procede con asignaciones de propiedad de root para los archivos transferidos.
References
| https://github.com/RsyncProject/rsync/security/advisories/GHSA-hx7p-3gvv-pqgv | vendor-advisory | |
| https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 | product, release-notes | |
| https://www.vulncheck.com/advisories/rsync-privilege-confusion-via-name-converter-uid-gid-mapping | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53798 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-53798 changed 2026-10-24 | Public domain |