CVE-2026-53785

rsync < 3.5.0 Path Traversal Write Escape via --relative Mode

Published Aug 13, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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 make_path() 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.

Analysis

AI-generated

Technical impact

The defect is in rsync's make_path() routine when the --relative flag is active. A malicious sender can craft a relative path that includes symlink components pointing outside the intended destination tree. When the receiver processes such a transfer, the function follows the symlinks while creating intermediate directories, writing files to arbitrary locations, which can overwrite system files, execute malicious code, or subvert configuration.

Affected Systems

RsyncProject's rsync utility versions older than 3.5.0 are affected. This includes the 3.4.x series and earlier releases.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. The flaw can be exploited remotely by a sender that has permission to initiate a transfer with --relative mode, which is typically allowed by the rsync protocol. EPSS data is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting that it is not actively exploited in the wild, yet the path‑traversal write capability remains a significant risk. Limiting the use of –relative mode or restricting the service to trusted hosts can reduce the likelihood of successful exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or later, where the make_path() logic is corrected.
  • If an upgrade cannot be performed immediately, disable or avoid using the --relative flag for incoming transfers from untrusted peers.
  • Restrict the rsync daemon to accept connections only from known, trusted IP addresses and enforce strict file‑system permissions on the destination directories to limit unauthorized writes.

Generated by OpenCVE AI on August 13, 2026 at 16:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4888-1 rsync security update
Debian DSA Debian DSA DSA-6527-1 rsync security update
History
Type Values Removed Values Added
First Time appeared Samba
Samba rsync
CPEs cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
Vendors & Products Samba
Samba rsync
Type Values Removed Values Added
First Time appeared Rsync Project
Rsync Project rsync
Vendors & Products Rsync Project
Rsync Project rsync
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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 make_path() 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.
Title rsync < 3.5.0 Path Traversal Write Escape via --relative Mode
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:50 PM
Reserved
Jun 10, 2026, 8:14 PM
Status
Analyzed
Published
Aug 13, 2026, 3:19 PM
Modified
Nov 6, 2026, 4:01 PM
Severity
Important
Public date
Aug 13, 2026, 2:34 PM