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.
Published: 2026-08-13
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Samba
Samba rsync
CPEs cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
Vendors & Products Samba
Samba rsync

Fri, 14 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Rsync Project
Rsync Project rsync
Vendors & Products Rsync Project
Rsync Project rsync

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Aug 2026 15:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:50:05.802Z

Reserved: 2026-06-10T20:14:32.826Z

Link: CVE-2026-53785

cve-icon Vulnrichment

Updated: 2026-08-13T15:28:10.534Z

cve-icon NVD

Status : Received

Published: 2026-08-13T15:19:42.403

Modified: 2026-08-13T16:18:06.600

Link: CVE-2026-53785

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-13T14:34:59Z

Links: CVE-2026-53785 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T10:15:02Z

Weaknesses
  • CWE-59

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