CVE-2026-53800
5.7
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Summary
rsync before 3.5.0 contains a symlink race condition vulnerability in the –remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.
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-v3vw-pvpg-chwh
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://www.vulncheck.com/advisories/rsync-symlink-race-condition-via-remove-source-files
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.