Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA rsync (RsyncProject) Fixed in 3.4.3
Red Hat 5 advisories
- RHSA-2026:54769 Released 2026-08-18 · Red Hat rating ImportantOpenShift Container Platform 4.22.10 bug fix and security update
- Red Hat OpenShift Container Platform 4.22 rhcos-aarch64-4.22.9.8.202608130832-0, rhcos-ppc64le-4.22.9.8.202608130832-0, rhcos-s390x-4.22.9.8.202608130832-0 +1
- RHSA-2026:29197 Released 2026-06-24 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:26410 Released 2026-06-16 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux AppStream (v. 9) rsync-daemon-3.2.5-7.el9_8.2, rsync-rrsync-3.2.5-7.el9_8.2
- Red Hat Enterprise Linux BaseOS (v. 9) rsync-3.2.5-7.el9_8.2
Show 2 more Red Hat advisories
- RHSA-2026:26408 Released 2026-06-16 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux BaseOS (v. 8) rsync-3.1.3-27.el8_10, rsync-daemon-3.1.3-27.el8_10
- RHSA-2026:26332 Released 2026-06-16 · Red Hat rating Importantrsync security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) rsync-daemon-3.4.4-1.el10_2, rsync-rrsync-3.4.4-1.el10_2
- Red Hat Enterprise Linux BaseOS (v. 10) rsync-3.4.4-1.el10_2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
RsyncProject rsync 3.4.3
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2026-31724 Rsync < 3.4.3 Symlink Race Condition via Path-Based SyscallsPriority LOW 33
- TI-2026-31725 Rsync < 3.4.3 Out-of-Bounds Array Read via recv_files()Priority LOW 31
- TI-2026-31723 Rsync < 3.4.3 Integer Overflow Information DisclosurePriority LOW 31
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Discovery 2 | Fixed | RHSA-2026:29197 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:26332 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:26410 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:26332 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:26408 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:26410 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:54769 |
Not affected: 1 product
- Red Hat Discovery 2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-29518
- 2026-10-03 Alias added: GHSA-pfv9-gp3h-73xv
- 2026-11-05 Affected versions changed · Red Hat
References
More Samba Rsync vulnerabilities
- TI-2024-11208 Rsync: heap buffer overflow in rsync due to improper checksum length handling CVSS 3.1CRITICAL 9.8
- TI-2024-11209 Rsync: info leak via uninitialized stack contents CVSS 3.1HIGH 7.5
- TI-2024-11212 Rsync: --safe-links option bypass leads to path traversal CVSS 3.1HIGH 7.5
- TI-2024-11211 Rsync: path traversal vulnerability in rsync CVSS 3.1HIGH 7.5
- TI-2024-11210 Rsync: rsync server leaks arbitrary client files CVSS 3.1MEDIUM 6.8
- TI-2017-12160 The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-29518 · CVE Program
- CVE-2026-29518 · NVD
- FIRST EPSS
- GHSA-pfv9-gp3h-73xv · GitHub Advisory Database · CC BY 4.0
- CVE-2026-29518 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences