# CVE-2026-53796: rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-13T14:39:46.882Z
- Modified: 2026-11-06T16:00:11.540Z
- Weaknesses: CWE-59, CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- RsyncProject rsync: up to 3.4.4 (not affected: 3.5.0)
- samba rsync: before 3.5.0

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `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`
- VulnCheck: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m> (vendor-advisory)
- <https://github.com/RsyncProject/rsync/releases/tag/v3.5.0> (release-notes)
- <https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-53796](https://www.cve.org/CVERecord?id=CVE-2026-53796), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-53796](https://nvd.nist.gov/vuln/detail/CVE-2026-53796), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53796 · Whole record: https://cve.day/CVE-2026-53796.json · Rebuilt by cve.day 2026-11-25T22:59:32.759Z
