REDHAT-BUG-2515381: High severity rsync rsync vulnerability

Published Aug 13, 2026
·
Updated

rsync before 3.5.0 contains a symlink following vulnerability that allows local attackers to overwrite arbitrary files by placing a symlink at a predictable output path such as --log-file, --write-batch, or daemon-mode log and statistics paths. Attackers can exploit rsync's failure to reject symlinks during ancillary file writes to redirect output to arbitrary filesystem locations, achieving local privilege escalation on installations where rsync runs with elevated privileges such as setuid or privileged daemon configurations.

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:50 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which rsync deployments are most exposed to privilege escalation?

Installations where rsync runs with elevated privileges are exposed, including setuid deployments and privileged daemon configurations. The issue is local, so an attacker needs the ability to place a symlink at a predictable ancillary-output path.

2

What attacker-controlled conditions are needed to exploit this issue?

The attacker must be able to create a symlink at a predictable path used for ancillary file output. Examples include paths selected through --log-file or --write-batch, as well as daemon-mode log and statistics paths; rsync may then follow the symlink and overwrite the target file.

3

How can administrators identify potentially affected configurations?

Review whether rsync is older than 3.5.0 and whether it is executed with elevated privileges. Also inspect uses of --log-file, --write-batch, and daemon-mode logging or statistics output for predictable locations where untrusted local users could place symlinks.

4

What mitigation is available if an update cannot be applied immediately?

Avoid running rsync with elevated privileges where possible, and prevent untrusted local users from creating symlinks in directories used for log, batch, statistics, or other ancillary rsync output. Use output paths that are not writable or controllable by untrusted users.

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