CVE-2026-29518Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write
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
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | rsync | Fixed | 3.4.1+ds1-7ubuntu0.2 | UBUNTU-CVE-2026-29518 |
| Ubuntu 25.10 | rsync | Fixed | 3.4.1+ds1-5ubuntu1.2 | UBUNTU-CVE-2026-29518 |
| Ubuntu 24.04 | rsync | Fixed | 3.2.7-1ubuntu1.4 | UBUNTU-CVE-2026-29518 |
| Ubuntu 22.04 | rsync | Fixed | 3.2.7-0ubuntu0.22.04.6 | UBUNTU-CVE-2026-29518 |
| Ubuntu 20.04 | rsync | Fix pending | 3.1.3-8ubuntu0.9+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-29518 |
| Ubuntu 18.04 | rsync | Fix pending | 3.1.2-2.1ubuntu1.6+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-29518 |
| Ubuntu 16.04 | rsync | Fix pending | 3.1.1-3ubuntu1.3+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-29518 |
| Ubuntu 14.04 | rsync | Fix pending | 3.1.0-2ubuntu0.4+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-29518 |
| Debian 14 | rsync | Fixed | 3.4.3+ds1-1 | DEBIAN-CVE-2026-29518 |
| Debian 13 | rsync | Fixed | 3.4.1+ds1-5+deb13u3 | DEBIAN-CVE-2026-29518 |
| Debian 12 | rsync | Fixed | 3.2.7-1+deb12u5 | DEBIAN-CVE-2026-29518 |
| Red Hat Enterprise Linux 10 | rsync | Fixed | 0:3.4.4-1.el10_2 | RHSA-2026:26332 |
| Red Hat Enterprise Linux 10 | rsync-daemon | Fixed | 0:3.4.4-1.el10_2 | RHSA-2026:26332 |
| Red Hat Enterprise Linux 10 | rsync-rrsync | Fixed | 0:3.4.4-1.el10_2 | RHSA-2026:26332 |
| Red Hat Enterprise Linux 9 | rsync | Fixed | 0:3.2.5-7.el9_8.2 | RHSA-2026:26410 |
| Red Hat Enterprise Linux 9 | rsync-daemon | Fixed | 0:3.2.5-7.el9_8.2 | RHSA-2026:26410 |
| Red Hat Enterprise Linux 9 | rsync-rrsync | Fixed | 0:3.2.5-7.el9_8.2 | RHSA-2026:26410 |
| Red Hat Enterprise Linux 8 | rsync | Fixed | 0:3.1.3-27.el8_10 | RHSA-2026:26408 |
| Red Hat Enterprise Linux 8 | rsync-daemon | Fixed | 0:3.1.3-27.el8_10 | RHSA-2026:26408 |
| Red Hat Enterprise Linux 7 | rsync | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | rsync | Fix pending Affected | ||
| AlmaLinux 10 | rsync-daemon | Fixed | 3.4.4-1.el10_2 | ALSA-2026:26332 |
| AlmaLinux 10 | rsync-rrsync | Fixed | 3.4.4-1.el10_2 | ALSA-2026:26332 |
| AlmaLinux 9 | rsync | Fixed | 3.2.5-7.el9_8.2 | ALSA-2026:26410 |
| AlmaLinux 9 | rsync-daemon | Fixed | 3.2.5-7.el9_8.2 | ALSA-2026:26410 |
| AlmaLinux 9 | rsync-rrsync | Fixed | 3.2.5-7.el9_8.2 | ALSA-2026:26410 |
| AlmaLinux 8 | rsync | Fixed | 3.1.3-27.el8_10 | ALSA-2026:26408 |
| AlmaLinux 8 | rsync-daemon | Fixed | 3.1.3-27.el8_10 | ALSA-2026:26408 |
| Rocky Linux 10 | rsync | Fixed | 0:3.4.4-1.el10_2 | RLSA-2026:26332 |
| Rocky Linux 9 | rsync | Fixed | 0:3.2.5-7.el9_8.2 | RLSA-2026:26410 |
| Rocky Linux 8 | rsync | Fixed | 0:3.1.3-27.el8_10 | RLSA-2026:26408 |
| Alpine Linux 3.24 | rsync | Fixed | 3.4.3-r0 | ALPINE-CVE-2026-29518 |
| Alpine Linux 3.23 | rsync | Fixed | 3.4.3-r0 | ALPINE-CVE-2026-29518 |
| Alpine Linux 3.22 | rsync | Fixed | 3.4.3-r0 | ALPINE-CVE-2026-29518 |
| Alpine Linux 3.21 | rsync | Fixed | 3.4.3-r0 | ALPINE-CVE-2026-29518 |
| Alpine Linux 3.20 | rsync | Fixed | 3.4.3-r0 | ALPINE-CVE-2026-29518 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RsyncProject rsync: affected: before 3.4.3; fixed in
3.4.3
Vendor advisories:
- https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd… (patch)
- https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 (release-notes)
References
- https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d
- https://github.com/RsyncProject/rsync/releases/tag/v3.4.3
- https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/
- https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-write
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.