{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53796","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-06-10T20:14:32.828Z","datePublished":"2026-08-13T14:39:46.882Z","dateUpdated":"2026-08-14T16:50:12.555Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-08-14T16:50:12.555Z"},"title":"rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling","datePublic":"2026-08-12T00:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","type":"CWE"},{"lang":"en","cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]}],"affected":[{"vendor":"RsyncProject","product":"rsync","repo":"https://github.com/RsyncProject/rsync","versions":[{"status":"affected","version":"0","lessThanOrEqual":"3.4.4","versionType":"semver"},{"status":"unaffected","version":"3.5.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:github/RsyncProject/rsync"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*","versionEndIncluding":"3.4.4"}]}]}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>rsync before 3.5.0&nbsp;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.</p>"}]}],"references":[{"url":"https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m","name":"GitHub Security Advisory (GHSA-w75h-ccff-w53m)","tags":["vendor-advisory"]},{"url":"https://github.com/RsyncProject/rsync/releases/tag/v3.5.0","name":"rsync 3.5.0 Release Notes","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.8,"vectorString":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}}],"credits":[{"lang":"en","value":"seks99x","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T15:53:22.610740Z","id":"CVE-2026-53796","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-14T15:53:39.876Z"}}]}}