Description
rsync before 3.5.0 contains a path traversal vulnerability that allows remote clients to access files outside the intended module root when use chroot is disabled and the module root path or a component of it is a symlink. The daemon calls chdir() to the module root at session initialization without resolving symlinks via realpath() or equivalent, causing subsequent relative-path operations to reference files relative to the symlink target rather than the intended module root, enabling unauthorized file access.
Severity (CVSS)
| Base score | 8.4 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-59 — CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RsyncProject | rsync | 0 to <=3.4.4; 3.5.0 |
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-ffg2-fr5g-3rxw (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
- https://www.vulncheck.com/advisories/rsync-path-traversal-via-symlink-module-root (third-party-advisory)
Generated from the official CVE List on 14 Aug 2026 07:02 UTC.