CVE-2026-53803

rsync < 3.5.0 Symlink Following Arbitrary File Overwrite

Published Aug 13, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
rsync before 3.5.0 contains a symlink following vulnerability that allows local attackers to overwrite arbitrary files by placing a symlink at a predictable output path such as --log-file, --write-batch, or daemon-mode log and statistics paths. Attackers can exploit rsync's failure to reject symlinks during ancillary file writes to redirect output to arbitrary filesystem locations, achieving local privilege escalation on installations where rsync runs with elevated privileges such as setuid or privileged daemon configurations.

Analysis

AI-generated

Technical impact

rsync before version 3.5.0 contains a symlink‑following flaw that allows a local attacker to overwrite arbitrary files by directing rsync to write output through a predictable symlink. The vulnerability arises when rsync is asked to write to paths such as --log-file, --write-batch, or daemon‑mode log and statistics, and the program fails to reject symlinks during these ancillary writes. The result can be the replacement of critical system files when rsync runs with elevated privileges, thereby enabling local privilege escalation. The weakness is classified as CWE‑59.

Affected Systems

The flaw affects all releases of the RsyncProject rsync client older than version 3.5.0 on any operating system that installs rsync in a set‑uid or privileged daemon mode. This includes most Linux and Unix‑like distributions that use rsync in a privileged context. No additional version constraints are provided beyond the <3.5.0 boundary, so any build before that release is considered vulnerable.

Risk and Exploitability

The CVSS score of 8.5 flags high severity, and while the EPSS score is not disclosed, the attack requires local access and the presence of elevated privileges, conditions that are common on servers running rsync with set‑uid binaries or as a privileged daemon. The vulnerability is not listed in the CISA KEV catalog, indicating no documented large‑scale exploitation yet, but once exploited an attacker could replace arbitrary files and potentially gain full system control. The likely attack vector involves a local user creating a symlink to a target file and executing rsync with the vulnerable option so that the file is overwritten.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or newer.
  • If an upgrade is unfeasible, run rsync without set‑uid or privileged daemon privileges; execute it as a non‑privileged user and avoid using the vulnerable options that write to predictable paths, such as --log-file and --write-batch.
  • When running rsync with elevated rights, constrain file system permissions and place critical files outside directories that rsync can write to.
  • Consider isolating rsync operations in a container or chroot to limit write access to the host file system.

Generated by OpenCVE AI on August 13, 2026 at 16:58 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
Metrics ssvc

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

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
Description rsync before 3.5.0 contains a symlink following vulnerability that allows local attackers to overwrite arbitrary files by placing a symlink at a predictable output path such as --log-file, --write-batch, or daemon-mode log and statistics paths. Attackers can exploit rsync's failure to reject symlinks during ancillary file writes to redirect output to arbitrary filesystem locations, achieving local privilege escalation on installations where rsync runs with elevated privileges such as setuid or privileged daemon configurations.
Title rsync < 3.5.0 Symlink Following Arbitrary File Overwrite
Weaknesses CWE-59
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/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
Oct 24, 2026, 4:10 PM
Severity
Important
Public date
Aug 13, 2026, 2:33 PM