REDHAT-BUG-2515417: Path Traversal

Published Aug 13, 2026
·
Updated

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 makepath() 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.

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

Which rsync deployments are exposed to this issue?

Receivers running rsync before 3.5.0 are exposed when they use --relative mode and process files from a malicious sender. The issue depends on symlink components that point outside the intended destination tree.

2

What does an attacker need to exploit it?

An attacker needs to act as the rsync sender and supply crafted relative paths containing symlink components. This can cause the receiver to create or write files outside the intended destination directory tree.

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