CVE-2026-53796rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling
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.
What to do
Fixed builds are available from Alpine, Debian: 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 | Under investigation | UBUNTU-CVE-2026-53796 | |
| Ubuntu 24.04 | rsync | Under investigation | UBUNTU-CVE-2026-53796 | |
| Ubuntu 22.04 | rsync | Under investigation | UBUNTU-CVE-2026-53796 | |
| Ubuntu 20.04 | rsync | Fix pending | UBUNTU-CVE-2026-53796 | |
| Ubuntu 18.04 | rsync | Fix pending | UBUNTU-CVE-2026-53796 | |
| Ubuntu 16.04 | rsync | Fix pending | UBUNTU-CVE-2026-53796 | |
| Ubuntu 14.04 | rsync | Fix pending | UBUNTU-CVE-2026-53796 | |
| Debian 14 | rsync | Fixed | 3.5.0+ds1-1 | DEBIAN-CVE-2026-53796 |
| Debian 13 | rsync | Fixed | 3.5.0+ds1-0+deb13u1 | DEBIAN-CVE-2026-53796 |
| Debian 12 | rsync | Fixed | 3.5.0+ds1-0+deb12u1 | DEBIAN-CVE-2026-53796 |
| Red Hat Enterprise Linux 10 | rsync | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rsync-daemon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rsync-rrsync | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rsync | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rsync-daemon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rsync-rrsync | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rsync | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rsync-daemon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | rsync | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsync | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-53796 |
| Alpine Linux 3.23 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-53796 |
| Alpine Linux 3.22 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-53796 |
| Alpine Linux 3.21 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-53796 |
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: up to 3.4.4, 3.5.0 not affected
Vendor advisories:
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling
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.