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.
CVE-2026-53796
CVSS base score
6.3 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-59, CWE-367
Last modified
November 6, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Affected products
samba rsync
References
- github.com Release Notes
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory