CVE-2026-29518
JSON

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 packageVersionsReported by
RsyncProject rsyncbefore 3.4.3CVE List
rsyncNot 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
rhcosNot specified
Not affected: from 4.22.9.8.202608130832-0 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1782166952 before *
CVE List
samba rsyncbefore 3.4.3NVD

All scores

VulnCheck7.3high CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat-SADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-367

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

https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531dissue-tracking, patch
https://github.com/RsyncProject/rsync/releases/tag/v3.4.3release-notes
https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/technical-description
https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-writethird-party-advisory
https://access.redhat.com/security/cve/CVE-2026-29518vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2469055issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29518.json
https://access.redhat.com/errata/RHSA-2026:54769vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26332vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26410vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26408vendor-advisory
https://access.redhat.com/errata/RHSA-2026:29197vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-29518 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-29518 changed 2026-08-19Public domain