Description
rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside the intended destination tree by specifying an absolute path via --temp-dir or --link-dest options. The rename-confinement logic is bypassed when these options resolve to paths outside the destination tree, enabling attacker-controlled values to write files to arbitrary locations accessible to the rsync process.
Published: 2026-08-13
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker can cause rsync to write files outside the intended destination tree by supplying absolute paths in the --temp-dir or --link-dest options. The vulnerability bypasses the rename‑confinement checks that normally restrict file modifications to the destination directory, allowing the attacker to overwrite or create files at any location reachable by the rsync process. This could lead to unauthorized modification of system files, installation of malware, or creation of back‑door persistence mechanisms, compromising integrity and potentially confidentiality depending on the target files.

Affected Systems

The vulnerability affects all rsync releases prior to version 3.5.0. The official CWE identified for this flaw is 59 (Path Traversal). No specific sub‑products are singled out beyond the primary rsync utility provided by the RsyncProject.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity. EPSS information is not supplied, and the flaw is not listed in the CISA KEV catalog. The likely attack vector is that an attacker who can influence the rsync command—either by controlling the client or by exploiting a remote rsync service—provides malicious --temp-dir or --link-dest arguments. This bypasses normal file‑write restrictions and permits the attacker to place files anywhere on the file system that the rsync process can reach. No additional exploitation prerequisites beyond the ability to command rsync are noted in the supplied description.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply rsync version 3.5.0 or newer to eliminate the write‑bypass logic.
  • If upgrading is delayed, restrict use of the --temp-dir and --link-dest options or disable them entirely through configuration or wrapper scripts.
  • Enforce strict filesystem permissions or ACLs on directories that rsync may write to, ensuring only trusted users can modify critical files.
  • Verify that the rsync process runs with the minimal privilege required for its normal operation.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside the intended destination tree by specifying an absolute path via --temp-dir or --link-dest options. The rename-confinement logic is bypassed when these options resolve to paths outside the destination tree, enabling attacker-controlled values to write files to arbitrary locations accessible to the rsync process.
Title rsync < 3.5.0 Arbitrary File Write via --temp-dir/--link-dest
Weaknesses CWE-59
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T14:39:26.044Z

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

Link: CVE-2026-53795

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-13T15:19:44.117

Link: CVE-2026-53795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T17:00:04Z

Weaknesses
  • CWE-59

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