REDHAT-BUG-2515375: Medium severity rsync rsync vulnerability
rsync before 3.5.0 contains an improper path handling vulnerability that allows a malicious sender to expand the scope of --delete operations beyond the intended destination subtree by sending a crafted file list that causes rsync to reclassify implied parent directory entries or treat synthetic paths as the transfer root. Attackers can exploit multiple variants including implied parent reclassification, synthetic root path construction, legacy protocol behavior below version 30, and non-directory root handling to cause the receiver to delete files outside the authorized destination directory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rsyncto a version that resolves this vulnerability.Fixed in 3.5.0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Receivers running rsync before 3.5.0 are exposed when they accept a file list from a malicious sender and use --delete. The issue can delete files outside the intended destination subtree.
What does an attacker need to exploit it?
An attacker needs to act as, or control, the sending side of an rsync transfer and provide a crafted file list. Exploitation relies on the receiver processing that list with --delete enabled.
Are older rsync protocol modes relevant?
Yes. One of the documented exploit variants applies to legacy protocol behavior below version 30, in addition to variants involving implied parent directories, synthetic transfer roots, and non-directory roots.
What is the available remediation?
Upgrade rsync to version 3.5.0 or later. The provided Red Hat advisories are RHSA-2026:67462, RHSA-2026:67463, and RHSA-2026:71446.