Description
rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.
Published: 2026-08-13
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

rsync prior to 3.5.0 is vulnerable to a symlink race condition that allows a privileged or local attacker to cause the sender to enumerate and transfer files outside the module root during directory scanning. The race condition occurs between an lstat() call and an opendir() call, enabling the attacker to replace a symlink with a directory pointing to a location outside the intended subtree. Successful exploitation can expose sensitive files beyond the rsync’s configured root, potentially leading to data disclosure.

Affected Systems

RsyncProject’s rsync utility, versions prior to 3.5.0. All distributions that ship rsync v3.4.x or earlier are affected. The issue manifests in both daemon-mode (server side) and non-daemon sender-side scanning.

Risk and Exploitability

The CVSS score of 8.2 classifies this vulnerability as high severity. EPSS is not available, but the lack of a KEV listing indicates no publicly known exploits at the time of this analysis. The likely attack vector requires the ability to create or modify symlinks in a path component of the scanned tree; therefore the vulnerability is primarily exploitable by local users with write access to the directory being synchronized or by remote attackers who can influence the sender to scan a target path. Exploitation conditions also demand that the attacker act between the lstat() and opendir() calls, which is difficult to time, but the race condition is proven to exist.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or later.
  • Limit untrusted users’ ability to create or modify symlinks in directories processed by rsync, or run rsync in a chrooted environment to constrain the file system view.
  • Disable or restrict the rsync --enable-super-user option and audit rsync logs for unusual file accesses.

Generated by OpenCVE AI on August 13, 2026 at 16:48 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 a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.
Title rsync < 3.5.0 Symlink Race Condition Directory Traversal
Weaknesses CWE-367
CWE-59
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T14:41:27.424Z

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

Link: CVE-2026-53801

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-53801

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-367

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

  • CWE-59

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