Vulnerability · Published Aug 13, 2026 · Assigned by VulnCheck

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

Medium 6.3

In plain English

A medium-severity security flaw in rsync from RsyncProject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.1%top 97.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21rsync3.5.0-r0ALPINE-CVE-2026-53796
Alpine:v3.22rsync3.5.0-r0ALPINE-CVE-2026-53796
Alpine:v3.23rsync3.5.0-r0ALPINE-CVE-2026-53796
Alpine:v3.24rsync3.5.0-r0ALPINE-CVE-2026-53796
Debian:12rsyncno fix listedDEBIAN-CVE-2026-53796
Debian:13rsync3.5.0+ds1-0+deb13u1DEBIAN-CVE-2026-53796
Debian:14rsync3.5.0+ds1-1DEBIAN-CVE-2026-53796
Ubuntu:22.04:LTSrsyncno fix listedUBUNTU-CVE-2026-53796
Ubuntu:24.04:LTSrsyncno fix listedUBUNTU-CVE-2026-53796
Ubuntu:26.04:LTSrsyncno fix listedUBUNTU-CVE-2026-53796
Ubuntu:26.10rsyncno fix listedUBUNTU-CVE-2026-53796

Affected products (as reported)

VendorProductVersions
RsyncProject rsync 0 – through 3.4.4

Weakness: CWE-59, CWE-367 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

References