Description
rsync before 3.5.0 contains a path traversal vulnerability that allows a malicious sender to write files outside the intended destination directory tree by crafting relative paths with symlink components in --relative mode. The make_path() function follows symlinks pointing outside the destination tree while creating intermediate directories without verifying that created paths remain within the destination boundary, enabling arbitrary file writes on the receiver's filesystem.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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-pph3-7xmf-rrqg (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
- https://www.vulncheck.com/advisories/rsync-path-traversal-write-escape-via-relative-mode (third-party-advisory)
Generated from the official CVE List on 14 Aug 2026 07:02 UTC.