CVE Database›Document archive›CVE-2026-53785

CVE-2026-53785

rsync: rsync: Arbitrary file write via path traversal in --relative mode

Loading…

Severity

Important

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · August 13, 2026

Updated · October 9, 2026

Description

A path traversal vulnerability in rsync's --relative mode allows a malicious sender to craft symlink paths, enabling arbitrary file writes outside the destination directory.

Statement

This is an Important vulnerability in rsync where a malicious sender can achieve arbitrary file writes on a receiving system when the --relative mode is used. This path traversal flaw allows symlink components in relative paths to escape the intended destination directory. The risk is present in environments where rsync is configured to pull data from untrusted sources with the --relative option.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, avoid using the rsync --relative (-R) option when synchronizing with untrusted senders. Because kernel-level symlink protections cannot prevent rsync from following malicious destination-tree symlinks created by the same executing user, strict sender verification is required. Restricting --relative operations to fully trusted sources prevents attackers from exploiting implied relative paths to achieve path traversal.

CVSS / CWE

CVSS 3.1 · 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

CWE-59 · Improper Link Resolution Before File Access ('Link Following')