Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-53796 EUVD-2026-58035

rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling

Published Aug 13, 2026 · Updated Aug 14, 2026 · Assigned by VulnCheck

Description

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 products

VendorProductAffectedFixed
RsyncProject rsync ≤ 3.4.4 3.5.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rsync 3.5.0+ds1-1 —
Debian 13 rsync 3.5.0+ds1-0+deb13u1 —
Debian 12 rsync 3.5.0+ds1-0+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rsync No fix yet —
Ubuntu 26.04 LTS rsync No fix yet —
Ubuntu 24.04 LTS rsync No fix yet —
Ubuntu 22.04 LTS rsync No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS rsync No fix yet —
Ubuntu Pro 18.04 LTS rsync No fix yet —
Ubuntu Pro 16.04 LTS rsync No fix yet —
Ubuntu Pro 14.04 LTS rsync No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 rsync 3.2.7-150600.3.24.1 SUSE-SU-2026:3657-1
SLES 15 SP6 rsync 3.2.7-150600.3.24.1 SUSE-SU-2026:3657-1
SLES 15 SP5 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLES 15 SP4 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 rsync 3.4.1-160000.6.1 SUSE-SU-2026:23323-1
SLES for SAP 15 SP6 rsync 3.2.7-150600.3.24.1 SUSE-SU-2026:3657-1
SLES for SAP 15 SP5 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLES for SAP 15 SP4 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLES 16.0 rsync 3.4.1-160000.6.1 SUSE-SU-2026:23323-1
SLE Micro 6.2 rsync 3.4.1-160000.6.1 SUSE-SU-2026:23289-1
SLE Micro 6.1 rsync 3.3.0-slfo.1.1_7.1 SUSE-SU-2026:23254-1
SLE Micro 6.0 rsync 3.2.7-8.1 SUSE-SU-2026:23253-1
SLE Micro 5.5 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLE Micro 5.4 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLE Micro 5.3 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLE HPC 15 SP5 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
SLE HPC 15 SP4 rsync 3.2.3-150400.3.34.1 SUSE-SU-2026:3634-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rsync 3.5.1-1.1 openSUSE-SU-2026:11869-1
openSUSE Leap 16.0 rsync 3.4.1-160000.6.1 openSUSE-SU-2026:21650-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rsync 3.5.0-r0 —
Alpine v3.23 rsync 3.5.0-r0 —
Alpine v3.22 rsync 3.5.0-r0 —
Alpine v3.21 rsync 3.5.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rsync +1 3.5.1-1.amzn2023.0.1 ALAS2023-2026-3131

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rsync 3.5.0-1 —

Advisories 10

References