Description
rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the rrsync restricted shell wrapper that allows authenticated clients to escape enforced directory restrictions by substituting a symlink for a path component after validation but before transfer processing. Attackers can additionally leverage unrestricted flags such as --copy-unsafe-links, -D, and --log-file through rrsync to read or write files outside the permitted directory subtree.
Published: 2026-08-13
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A time‑of‑check to time‑of‑use race condition exists in the rrsync restricted shell wrapper of rsync versions prior to 3.5.0. The flaw permits an authenticated client to substitute a symlink for a validated path component after the server has performed its directory checks but before the file transfer begins. This enables the client to escape the intended directory restrictions and gain access to files outside the designated subtree. Compounded by the ability for attackers to specify flags such as --copy-unsafe-links, -D, and --log-file, the vulnerability allows reading or writing sensitive files that should be protected.

Affected Systems

The affected product is rsync from the RsyncProject. All installations running rsync versions earlier than 3.5.0 are vulnerable; the fix is included in release 3.5.0 and later.

Risk and Exploitability

The CVSS score of 8.6 classifies this issue as a high‑severity vulnerability. Although the EPSS score is not available, the lack of a KEV listing suggests current exploitation is not widespread. The likely attack vector is a networked rsync session where the attacker is already authenticated to the target, and who can supply rrsync options. Successful exploitation gives the attacker confidentiality and integrity impact by reading or modifying arbitrary files within or outside the configured directory subtree, potentially escalating local privileges if the target account has sufficient permissions.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or newer to remove the TOCTOU race condition and the unrestricted option use.
  • If an upgrade is not immediately possible, disable or remove the rrsync wrapper wrapper and restrict access to trusted users only.
  • Configure rsync to disallow the use of --copy-unsafe-links, -D, and --log-file options, either by editing the configuration file or by removing these options from client access rights.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Samba
Samba rsync
CPEs cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
Vendors & Products Samba
Samba rsync

Fri, 14 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 14 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Rsync Project
Rsync Project rsync
Vendors & Products Rsync Project
Rsync Project rsync

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

Type Values Removed Values Added
Description rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the rrsync restricted shell wrapper that allows authenticated clients to escape enforced directory restrictions by substituting a symlink for a path component after validation but before transfer processing. Attackers can additionally leverage unrestricted flags such as --copy-unsafe-links, -D, and --log-file through rrsync to read or write files outside the permitted directory subtree.
Title rsync < 3.5.0 TOCTOU Race Condition Directory Escape via rrsync
Weaknesses CWE-59
CWE-88
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:50:04.494Z

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

Link: CVE-2026-53783

cve-icon Vulnrichment

Updated: 2026-08-14T15:44:46.827Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-14T17:18:58.460

Link: CVE-2026-53783

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-13T14:34:07Z

Links: CVE-2026-53783 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T10:15:02Z

Weaknesses
  • CWE-59

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

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')