Vulnerability in Rsyncproject Rsync
CVE-2026-53796
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.001, 3.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rsyncproject Rsync — versions 0, 3.5.0
- Samba Rsync
Weakness classification (CWE)
References
- github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes, Release Notes)
- github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m (vendor-advisory, Vendor Advisory)
- www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-direct… (Third Party Advisory, third-party-advisory)