CVE-2026-53801
Description
rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.
Description as published by the source, in English.
Key facts
- Published
- 2026-08-13
- Last modified
- 2026-10-24
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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:- Scored by
- disclosure@vulncheck.com
- Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Samba | Rsync | < 3.5.0 | Affected |
Weakness type
-
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
-
CWE-59: Improper Link Resolution Before File Access
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1547.009: Shortcut Modification
- T1564.009: Resource Forking
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
References
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-mch3-qr4p-chgm
- https://www.vulncheck.com/advisories/rsync-symlink-race-condition-directory-traversal
Related at Berigo
Articles
-
Six Samba vulnerabilities, two of them at maximum severity
Same product
2026-05-26
The Samba project has released fixes for six vulnerabilities, two of which allow remote code execution at CVSS 10.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.