CVE-2026-53796
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.
INFO
Published Date :
Aug. 13, 2026, 3:19 p.m.
Last Modified :
Nov. 6, 2026, 4 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 4.0 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update rsync to version 3.5.0 or later.
- Validate destination paths and permissions.
- Monitor file write operations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53796.
| URL | Resource |
|---|---|
| https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 | Release Notes |
| https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m | Vendor Advisory |
| https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53796 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53796
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53796 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53796 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 06, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:* versions up to (excluding) 3.5.0 Added Reference Type VulnCheck: https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 Types: Release Notes Added Reference Type VulnCheck: https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m Types: Vendor Advisory Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling Types: Third Party Advisory -
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Changed Translation Title: rsync de RsyncProject, Description: rsync anterior a 3.5.0 contiene una vulnerabilidad de condición de carrera de tiempo de verificación a tiempo de uso (TOCTOU) en el manejo del directorio de destino del receptor no demonio que permite a un atacante que puede manipular los componentes padre de la ruta de destino redirigir las escrituras de archivos a ubicaciones no deseadas. Los atacantes pueden sustituir un enlace simbólico por un componente de la ruta de destino entre la resolución de la ruta y la llamada a chdir(), haciendo que el directorio de trabajo del receptor se establezca fuera del árbol de destino previsto, de modo que las escrituras de archivos de ruta relativa posteriores aterricen en ubicaciones no deseadas del sistema de archivos. Title: rsync de RsyncProject, Description: rsync anterior a 3.5.0 contiene una vulnerabilidad de condición de carrera de tiempo de verificación a tiempo de uso (TOCTOU) en el manejo del directorio de destino del receptor no demonio que permite a un atacante que puede manipular los componentes padre de la ruta de destino redirigir las escrituras de archivos a ubicaciones no deseadas. Los atacantes pueden sustituir un enlace simbólico por un componente de la ruta de destino entre la resolución de la ruta y la llamada a chdir(), haciendo que el directorio de trabajo del receptor se establezca fuera del árbol de destino previsto, de modo que las escrituras de archivos de ruta relativa posteriores aterricen en ubicaciones no deseadas del sistema de archivos. -
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: rsync de RsyncProject, Description: rsync anterior a 3.5.0 contiene una vulnerabilidad de condición de carrera de tiempo de verificación a tiempo de uso (TOCTOU) en el manejo del directorio de destino del receptor no demonio que permite a un atacante que puede manipular los componentes padre de la ruta de destino redirigir las escrituras de archivos a ubicaciones no deseadas. Los atacantes pueden sustituir un enlace simbólico por un componente de la ruta de destino entre la resolución de la ruta y la llamada a chdir(), haciendo que el directorio de trabajo del receptor se establezca fuera del árbol de destino previsto, de modo que las escrituras de archivos de ruta relativa posteriores aterricen en ubicaciones no deseadas del sistema de archivos. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 14, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-53796', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-14T15:53:22.610740Z'} -
New CVE Received by [email protected]
Aug. 13, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/RsyncProject/rsync', 'vendor': 'RsyncProject', 'product': 'rsync', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '3.4.4'}, {'status': 'unaffected', 'version': '3.5.0', 'versionType': 'semver'}], 'packageURL': 'pkg:github/RsyncProject/rsync', 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H Added CWE CWE-59 Added CWE CWE-367 Added Reference https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 Added Reference https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m Added Reference https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling