REDHAT-BUG-2515389: High severity rsync rsync vulnerability

Published Aug 13, 2026
·
Updated

rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside the intended destination tree by specifying an absolute path via --temp-dir or --link-dest options. The rename-confinement logic is bypassed when these options resolve to paths outside the destination tree, enabling attacker-controlled values to write files to arbitrary locations accessible to the rsync process.

Affected Software

1 affected component
rsync rsync<3.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rsync to a version that resolves this vulnerability.

    Fixed in 3.5.0

Event History

Aug 13, 2026
Data Sourced
via Red Hat·03:51 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running rsync versions before 3.5.0 are exposed when rsync is invoked with attacker-controlled values for the --temp-dir or --link-dest options. The impact is limited to locations the rsync process has permission to write.

2

What does an attacker need to exploit it?

An attacker needs to be able to specify an absolute path through --temp-dir or --link-dest. If that path resolves outside the intended destination tree, the rename-confinement logic can be bypassed.

3

How can I determine whether an rsync invocation is affected?

Check whether the installed rsync version is earlier than 3.5.0 and whether scripts, services, or users can supply --temp-dir or --link-dest values. Invocations that permit absolute paths resolving outside the destination tree are affected.

4

What can be done if updating is not immediately possible?

Prevent untrusted users or inputs from controlling --temp-dir and --link-dest, and restrict these options to paths within the intended destination tree. Run rsync with only the filesystem permissions required for its intended destination.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203