CVE-2026-53796: rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling

Published Aug 13, 2026
·
Updated

rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the non-daemon receiver's destination directory handling that allows an attacker who can manipulate destination path parent components to redirect file writes to unintended locations. Attackers can substitute a symlink for a component of the destination path between the path resolution and chdir() call, causing the receiver's working directory to be established outside the intended destination tree so that subsequent relative-path file writes land in unintended filesystem locations.

Affected Software

2 affected componentsFixes available
Rsync<3.5.0
debian/rsync<=3.2.7-1+deb12u6, <=3.2.7-1+deb12u5, <=3.4.1+ds1-5+deb13u4
3.5.0+ds1-0+deb13u13.5.1+ds1-23.5.2+ds1-1

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.5.0+ds1-0+deb13u1Fixed in 3.5.1+ds1-2Fixed in 3.5.2+ds1-1

Event History

Aug 13, 2026
CVE Published
via MITRE·02:39 PM
Data Sourced
via MITRE·02:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:19 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-53796?

The severity of CVE-2026-53796 is medium with a score of 6.3.

2

What type of vulnerability is CVE-2026-53796?

CVE-2026-53796 is a race condition vulnerability related to time-of-check to time-of-use (TOCTOU) in rsync.

3

How do I fix CVE-2026-53796?

To fix CVE-2026-53796, upgrade rsync to version 3.5.0 or later.

4

What is the main risk associated with CVE-2026-53796?

The main risk associated with CVE-2026-53796 is that attackers can redirect file writes to unintended locations by exploiting the destination directory handling.

5

Which version of rsync is affected by CVE-2026-53796?

Rsync versions prior to 3.5.0 are affected by CVE-2026-53796.

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