{"id":"CVE-2026-53796","published":"2026-08-13T14:39:46Z","modified":"2026-08-14T16:50:12Z","title":"rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling","vendor":"RsyncProject","product":"rsync","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00146,"percentile":0.03878,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m","tags":["vendor-advisory"]},{"url":"https://github.com/RsyncProject/rsync/releases/tag/v3.5.0","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling","tags":["third-party-advisory"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":0.78},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"rsyncproject","affectedVersions":[{"vendor":"RsyncProject","product":"rsync","versions":["<= 3.4.4"]}],"fixedVersions":[{"vendor":"RsyncProject","product":"rsync","versions":["3.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T15:53:22.610740Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-58035","exploited":false,"provenance":"source"}}