Skip to content
Threat Feed
high advisory

Path Traversal Vulnerability in rsync make_path() Function

A path traversal vulnerability in rsync versions prior to 3.5.0 allows a malicious sender to perform arbitrary file writes outside the intended destination directory via crafted relative paths.

CVE search metadata

CVE search record: CVE-2026-53785. Severity: high. CVSS: 7.1. KEV: no. Product: rsync. Brief: Path Traversal Vulnerability in rsync make_path() Function. Brief link: https://feed.craftedsignal.io/briefs/2026-08-rsync-path-traversal/

What's new

  • 1. added coverage for rsync Aug 13, 16:56 via nvd

A path traversal vulnerability exists in rsync versions prior to 3.5.0, specifically impacting the make_path() function during operations utilizing the --relative mode. The vulnerability arises because the software fails to properly validate that file paths created during a synchronization task remain within the intended destination directory tree. By crafting malicious relative paths containing symlink components, a remote sender can trick the receiver's rsync process into following symlinks that point outside the restricted boundary. This flaw enables an attacker to write files to arbitrary locations on the receiving system's filesystem. This vulnerability represents a significant security risk for automated backup systems or file synchronization services that accept incoming rsync connections from untrusted or compromised sources.

Impact

Successful exploitation allows a malicious actor to perform unauthorized arbitrary file writes on the receiving host. This can lead to system-wide compromise if an attacker overwrites critical system configuration files, injects malicious binaries into search paths, or alters sensitive data, impacting the integrity and availability of the affected system.

Recommendation

  • Upgrade rsync to version 3.5.0 or later on all systems to remediate the vulnerability associated with CVE-2026-53785.
  • Audit existing rsync configuration files to restrict the use of --relative mode where not strictly required for business operations.
  • Implement filesystem-level permissions that enforce the principle of least privilege for the user account executing the rsync process, preventing it from writing to sensitive system directories.

Mitigations

Upgrade rsync to version 3.5.0 or later

immediate IT Operations

CVE-2026-53785