CVE-2026-53800

rsync < 3.5.0 Symlink Race Condition via --remove-source-files

Published Aug 13, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
rsync before 3.5.0 contains a symlink race condition vulnerability in the --remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.

Analysis

AI-generated

Technical impact

The vulnerability is a symlink race condition in rsync's --remove-source-files feature. During a transfer, an attacker can atomically replace a source file with a symlink pointing to an arbitrary target before rsync deletes the original. rsync then deletes the target file instead of the intended source file, granting attackers the ability to remove arbitrary files on the system that are accessible to the rsync process. This weakness matches CWE-367 and CWE-59 and results in loss of data integrity and availability.

Affected Systems

RsyncProject rsync versions prior to 3.5.0 are affected, including the 3.4.x series and earlier releases.

Risk and Exploitability

The vulnerability has a CVSS score of 5.7, indicating moderate severity. The EPSS score is not publicly available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to create symbolic links in the directory being synchronized, which typically means the attacker must have write or equivalent permissions to that location. If such access exists, the attacker can trigger the race condition with a single rsync invocation that uses the --remove-source-files option. The risk is therefore limited to environments where rsync is run with elevated privileges or where untrusted users can create files in the source directory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or later, where the race condition is fixed.
  • If an upgrade is not immediately possible, avoid using the --remove-source-files switch until a patched version is deployed.
  • Restrict write and symbolic‑link creation permissions for the user running rsync so that untrusted users cannot create symlinks in the source directories.

Generated by OpenCVE AI on August 13, 2026 at 16:49 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': 'partial'}, '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 race condition vulnerability in the --remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.
Title rsync < 3.5.0 Symlink Race Condition via --remove-source-files
Weaknesses CWE-367
CWE-59
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • 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