Vulnerability in Rsyncproject Rsync
CVE-2026-29518
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 4.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rsyncproject Rsync — versions 0
- Samba Rsync
Weakness classification (CWE)
References
- github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50… (issue-tracking, Patch, patch)
- rsync 3.4.3 Release Notes (release-notes, Release Notes)
- www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-a… (Third Party Advisory, third-party-advisory)
- michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/ (technical-description)
- access.redhat.com/errata/RHSA-2026:26332
- access.redhat.com/errata/RHSA-2026:26408
- access.redhat.com/errata/RHSA-2026:26410
- access.redhat.com/errata/RHSA-2026:29197
- access.redhat.com/security/cve/CVE-2026-29518
- bugzilla.redhat.com/show_bug.cgi