{"id":"CVE-2026-53796","state":"PUBLISHED","title":"rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling","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.","publishedAt":"2026-08-13T14:39:46.882Z","updatedAt":"2026-08-14T16:50:12.555Z","severity":{"score":5.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["RsyncProject rsync"],"affected":[{"vendor":"RsyncProject","product":"rsync","packageURL":"pkg:github/RsyncProject/rsync","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.4.4","versionType":"semver"},{"version":"3.5.0","status":"unaffected","versionType":"semver"}],"repo":"https://github.com/RsyncProject/rsync"}],"references":["https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m","https://github.com/RsyncProject/rsync/releases/tag/v3.5.0","https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling"],"weaknesses":["CWE-59","CWE-367"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53796.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53796","state":"PUBLISHED","datePublished":"2026-08-13T14:39:46.882Z","dateUpdated":"2026-08-14T16:50:12.555Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-10T20:14:32.828Z"},"containers":{"cna":{"title":"rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling","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."}],"affected":[{"vendor":"RsyncProject","product":"rsync","packageURL":"pkg:github/RsyncProject/rsync","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.4.4","versionType":"semver"},{"version":"3.5.0","status":"unaffected","versionType":"semver"}],"repo":"https://github.com/RsyncProject/rsync"}],"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","type":"CWE"},{"cweId":"CWE-367","lang":"en","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-14T16:50:12.555Z"},"datePublic":"2026-08-12T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*","versionEndIncluding":"3.4.4"}]}]}],"credits":[{"lang":"en","value":"seks99x","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-14T15:53:39.876Z"}}]}}}