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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"samba:rsync": [
"< 3.5.0"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53796",
"id": "CVE-2026-53796",
"imported": "2026-11-21T02:56:04.995Z",
"modified": "2026-11-06T16:00:11.540Z",
"published": "2026-08-13T15:19:51.553Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-53796"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-58035",
"id": "EUVD-2026-58035",
"imported": "2026-11-21T02:56:06.499Z",
"modified": "2026-08-14T16:50:12Z",
"published": "2026-08-13T14:39:46Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-58035"
}
]
}