CVE-2026-29518: Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write

Published May 11, 2026
·
Updated

A flaw was found in rsync. An rsync daemon configured with "use chroot = no" is exposed to a time-of-check / time-of-use race on parent path components. A local attacker with write access to a module can replace a parent directory component with a symlink between the receiver's check and its open(), redirecting reads (basis-file disclosure) and writes (file overwrite) outside the module. Under elevated daemon privilege this allows privilege escalation. Default "use chroot = yes" is not exposed.

Other sources

Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write

— Microsoft

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.

— MITRE

Affected Software

13 affected componentsFixes available
rsync rsync<3.4.3
Microsoft azl3 rsync 3.4.1-2
Samba rsync<3.4.3
IBM Cloud Pak for Data System (Yosemite 1.0)<=11.3.1.2-IF1 - 11.3.1.2-IF2
debian/rsync
3.2.3-4+deb11u43.2.7-1+deb12u53.4.1+ds1-5+deb13u33.4.3+ds1-1
ubuntu/rsync<3.1.0-2ubuntu0.4+esm3
3.1.0-2ubuntu0.4+esm3
ubuntu/rsync<3.1.1-3ubuntu1.3+esm5
3.1.1-3ubuntu1.3+esm5
ubuntu/rsync<3.1.2-2.1ubuntu1.6+esm3
3.1.2-2.1ubuntu1.6+esm3
ubuntu/rsync<3.1.3-8ubuntu0.9+esm1
3.1.3-8ubuntu0.9+esm1
ubuntu/rsync<3.2.7-0ubuntu0.22.04.6
3.2.7-0ubuntu0.22.04.6
ubuntu/rsync<3.2.7-1ubuntu1.4
3.2.7-1ubuntu1.4
ubuntu/rsync<3.4.1+ds1-5ubuntu1.2
3.4.1+ds1-5ubuntu1.2
ubuntu/rsync<3.4.1+ds1-7ubuntu0.2
3.4.1+ds1-7ubuntu0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/rsync to a version that resolves this vulnerability.

    Fixed in 3.2.3-4+deb11u4Fixed in 3.2.7-1+deb12u5Fixed in 3.4.1+ds1-5+deb13u3Fixed in 3.4.3+ds1-1
  2. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.1.0-2ubuntu0.4+esm3
  3. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.1.1-3ubuntu1.3+esm5
  4. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.1.2-2.1ubuntu1.6+esm3
  5. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.1.3-8ubuntu0.9+esm1
  6. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.2.7-0ubuntu0.22.04.6
  7. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.2.7-1ubuntu1.4
  8. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.4.1+ds1-5ubuntu1.2
  9. Upgrade

    Upgrade ubuntu/rsync to a version that resolves this vulnerability.

    Fixed in 3.4.1+ds1-7ubuntu0.2
  10. Upgrade

    Upgrade rsync to a version that resolves this vulnerability.

    Fixed in 3.4.3
  11. Configuration

    Set the rsync daemon configuration option "use chroot" to true (yes). The described TOCTOU symlink-based arbitrary file write is only triggerable when "use chroot" is false.

    rsync daemon use chroot = yes
  12. Compensating control

    Ensure rsync daemon module paths are not writable by untrusted users; otherwise an attacker with write access to a module path can exploit the race condition to create/overwrite arbitrary files.

Event History

May 11, 2026
Data Sourced
via Red Hat·01:53 PM
DescriptionSeverityAffected Software
May 20, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·12:48 PM
Data Sourced
via MITRE·12:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness
Event
via NVD·01:16 PM
May 21, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·05:05 PM
RemedyAffected Software
Jun 30, 2026
Updated
via NVD·03:18 AM
SeverityWeakness
Aug 5, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Aug 19, 2026
Updated
via NVD·12:17 PM
SeverityWeakness
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 21, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 9, 2026
Data Sourced
via OSV·02:47 AM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-29518?

The severity of CVE-2026-29518 is high with a score of 7.3.

2

How do I fix CVE-2026-29518?

To fix CVE-2026-29518, upgrade Rsync to version 3.4.3 or later.

3

What type of vulnerability is CVE-2026-29518?

CVE-2026-29518 is a race condition vulnerability that occurs due to a TOCTOU issue.

4

What software is affected by CVE-2026-29518?

Rsync versions before 3.4.3, including Debian/Rsync and Samba rsync, are affected by CVE-2026-29518.

5

What kind of attack can CVE-2026-29518 enable?

CVE-2026-29518 allows attackers to perform symlink-based arbitrary file writes to unintended directories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203