Skip to main content

rsync CVE-2026-53783

| EUVDEUVD-2026-58090 HIGH
Improper Link Resolution Before File Access (CWE-59)
2026-08-13 VulnCheck
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate via SSH to rrsync-restricted account
  2. Delivery
    Submit rsync invocation with unrestricted flags or plant directory symlink
  3. Exploit
    Bypass rrsync path validation via flag injection or TOCTOU substitution
  4. Execution
    Resolve target path outside permitted directory subtree
  5. Impact
    Read or write sensitive host files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires the target system to be running rsync with the rrsync wrapper configured as an SSH ForceCommand - typically an entry such as 'command="rrsync /permitted/dir"' in an authorized_keys file. The attacker must hold valid SSH credentials for such a restricted account (PR:L per CVSS 4.0 vector). For the deterministic flag-bypass path (--copy-unsafe-links, --log-file), no additional conditions are needed beyond the authenticated rsync session; the attacker simply includes the blocked flags in their rsync invocation. For the TOCTOU race path, the attacker additionally requires filesystem write access within the permitted rsync directory to plant the substituting symlink. Standard rsync deployments not using the rrsync wrapper are not affected by this directory-escape mechanism, which substantially limits the exploitable population despite rsync's broad deployment.

Impact

CVSS 4.0 rates this 8.6 (High) with AV:N/AC:L/AT:N/PR:L/UI:N and VC:H/VI:H/VA:N: network-accessible by low-privileged authenticated users with no special attack conditions, yielding full confidentiality and integrity compromise on the vulnerable system. The dual-path nature materially elevates real-world risk: while TOCTOU races are timing-dependent and can be unreliable, the flag-bypass path (--copy-unsafe-links, --log-file) is deterministic and likely trivially exploitable by any authenticated rsync user without race timing, effectively making the practical attack complexity lower than a pure TOCTOU would imply. No EPSS data was provided, and the vulnerability is absent from the CISA KEV catalog, meaning active exploitation is not confirmed. The absence of an availability impact (VA:N) is consistent with the described exploit paths, which target data access and manipulation rather than service disruption. This vulnerability warrants high priority specifically in environments running internet-facing or multi-tenant SSH services where rrsync is the access-control mechanism; deployments not using rrsync are unaffected.

Exploit ScenarioDerived

An attacker with valid SSH credentials configured to invoke rrsync connects and submits a sync request targeting the permitted directory, passing --log-file /etc/cron.d/backdoor in the rsync invocation; rrsync fails to block this flag, causing rsync to write attacker-controlled content to the cron directory outside the restricted subtree. Alternatively, the attacker creates a symlink within the permitted directory pointing to /root/.ssh/authorized_keys and initiates a transfer, exploiting the TOCTOU window to substitute the symlink after rrsync validates the path but before the file operation completes. No public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Directory escape in rsync's rrsync restricted shell wrapper before version 3.5.0 allows authenticated users to read and write files outside their enforced directory boundaries via two distinct paths. The first is a TOCTOU race condition that substitutes a symlink after path validation but before file transfer; the second is direct abuse of unrestricted rsync flags - --copy-unsafe-links, -D, and --log-file - that rrsync fails to sanitize, requiring no race timing at all. Scored 8.6 (High) under CVSS 4.0 with full confidentiality and integrity compromise of the vulnerable system, this is a genuine priority for any deployment using rrsync for SSH-based restricted file sharing; no public exploit has been identified at time of analysis.

RemediationAI

The primary fix is to upgrade rsync to version 3.5.0, available at https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 and documented in the security advisory at https://github.com/RsyncProject/rsync/security/advisories/GHSA-9cgc-64g4-3gv5. If an immediate upgrade is not feasible, administrators should consider disabling rrsync entirely and replacing it with a chroot jail or containerized rsync instance to enforce directory restrictions at the OS level rather than relying on the wrapper - this eliminates the attack surface but requires infrastructure changes. If rrsync must remain in use, the rrsync script can be manually patched to explicitly reject the --copy-unsafe-links, -D, and --log-file flags; however, this is fragile and risks being overwritten on the next package upgrade. Additionally, restricting which clients can invoke rrsync via SSH from= directives in authorized_keys limits exposure to trusted IP ranges but does not remediate the underlying flaw and offers no protection if a trusted client is compromised.

Affected VersionsENISA

rsync 0 ≤3.4.4

Affected Packages

euvd rsync no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rsync is a ubiquitous file synchronization utility; rrsync is its companion restricted shell wrapper, typically deployed as an SSH ForceCommand in authorized_keys entries to confine a given client's rsync sessions to a designated directory subtree. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access - 'Link Following'), which encompasses TOCTOU flaws: rrsync validates the requested path, then an exploitable window exists before file transfer begins during which an attacker can substitute a symlink at a path component, causing rsync to resolve to an unintended target outside the restriction. Independently - and more deterministically - rrsync also fails to block certain rsync flags (--copy-unsafe-links, which follows symlinks pointing outside the tree; -D, which transfers device and special files; and --log-file, which can write arbitrary log output to any writable path) that an authenticated client can pass directly in their rsync invocation. The CPE cpe:2.3:a:rsyncproject:rsync:*:*:*:*:*:*:*:* covers all rsyncproject rsync versions prior to the fix.

Know when Rsync gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 9.6 CRITICAL

Network-accessible via SSH; flag-bypass path makes AC:L appropriate; rrsync directory escape constitutes scope change; no availability impact described.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.1 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

rsync's rrsync restricted shell wrapper before version 3.5.0 contains a directory escape vulnerability enabling authenticated users to read and write files outside their configured directory boundaries, resulting in full confidentiality and integrity compromise. Organizations using rrsync for SSH-based restricted file sharing face direct risk of unauthorized data access and modification by legitimate users. This affects any multi-user deployment where rrsync enforces directory restrictions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict SSH key access and disable rrsync accounts for non-essential users; deploy OS-level confinement using AppArmor, SELinux, or chroot jails to limit process access to intended directories only; implement comprehensive audit logging and alerting for unauthorized filesystem access attempts; enforce filesystem ACLs to prevent file access outside rrsync scope; and consider disabling rrsync temporarily for sensitive data while using SFTP with chroot jails or equivalent alternatives until patch availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
High
rsync is standard tooling on virtually all Linux server deployments
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Rsync

View all
CVE-2024-12085 HIGH POC
7.5 Jan 14

A flaw was found in rsync which could be triggered when rsync compares file checksums. Rated high severity (CVSS 7.5), t

CVE-2024-12084 CRITICAL POC
9.8 Jan 15

A heap-based buffer overflow flaw was found in the rsync daemon. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2014-9512 MEDIUM POC
6.4 Feb 12

rsync 3.1.1 allows remote attackers to write to arbitrary files via a symlink attack on a file in the synchronization pa

CVE-2024-12087 HIGH POC
7.5 Jan 14

Server-to-client path traversal in rsync lets a malicious or compromised rsync server write files outside the client's i

CVE-2022-29154 HIGH POC
7.4 Aug 02

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the d

CVE-2014-2855 HIGH
7.8 Apr 23

The check_secret function in authenticate.c in rsync 3.1.0 and earlier allows remote attackers to cause a denial of serv

CVE-2024-12086 MEDIUM POC
6.8 Jan 14

A flaw was found in rsync. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authenticati

CVE-2017-16548 CRITICAL
9.8 Nov 06

The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character

CVE-2017-17434 CRITICAL
9.8 Dec 06

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_

CVE-2017-15994 CRITICAL
9.8 Oct 29

rsync 3.1.3-development before 2017-10-24 mishandles archaic checksums, which makes it easier for remote attackers to by

CVE-2026-53790 CRITICAL
9.2 Aug 13

Arbitrary command execution in rsync before 3.5.0 arises from multiple unsanitized code paths - the RSYNC_CONNECT_PROG e

CVE-2026-70460 CRITICAL
9.2 Aug 13

Arbitrary file write in rsync 2.3.3 through 3.4.4 lets a malicious sender escape a daemon module's root by abusing symli

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Micro 5.3 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy