CVE-2026-53796
rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling
- State
- Published
- Severity
- 5.8 Medium
- Published
- Aug 13, 2026
- Updated
- Aug 14, 2026
- Reserved
- Jun 10, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H | VulnCheck |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
rsyncRsyncProject |
|
References
- GitHub Security Advisory (GHSA-w75h-ccff-w53m)vendor-advisory
- rsync 3.5.0 Release Notesrelease-notes
- https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handlingthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.