CVE-2026-29518
Rsync versions before 3.4.3 contain a time-of-check to time-of-use …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d
- github.com/RsyncProject/rsync/releases/tag/v3.4.3
- www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-fi
- michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/
- 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
- nvd.nist.gov/vuln/detail/CVE-2026-29518
- cve.org/CVERecord?id=CVE-2026-29518
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.