CVE-2026-53801
8.2
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| RsyncProject | rsync | 0 <= 3.4.4 | affected |
| RsyncProject | rsync | 3.5.0 | unaffected |
Weaknesses
- CWE-59: CWE-59 Improper Link Resolution Before File Access ('Link Following')
- CWE-367: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-mch3-qr4p-chgm
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://www.vulncheck.com/advisories/rsync-symlink-race-condition-directory-traversal
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.