CVE-2026-53796: CWE-59 Improper Link Resolution Before File Access ('Link Following') in RsyncProject rsync
rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the non-daemon receiver's destination directory handling that allows an attacker who can manipulate destination path parent components to redirect file writes to unintended locations. Attackers can substitute a symlink for a component of the destination path between the path resolution and chdir() call, causing the receiver's working directory to be established outside the intended destination tree so that subsequent relative-path file writes land in unintended filesystem locations.
AI Analysis
Technical Summary
CVE-2026-53796 describes a TOCTOU race condition in rsync before version 3.5.0. The vulnerability occurs in the non-daemon receiver's destination directory handling, where an attacker able to manipulate parent components of the destination path can replace a path component with a symbolic link between path resolution and the chdir() system call. This causes the working directory to be set outside the intended destination tree, resulting in subsequent relative-path file writes landing in unintended filesystem locations.
Potential Impact
An attacker with the ability to manipulate the destination path parent components can redirect file writes to arbitrary locations on the filesystem. This could potentially lead to unauthorized file overwrites or placement of malicious files outside the intended directory, impacting system integrity. The CVSS 4.0 score is 5.8 (medium severity), reflecting the local attack vector, high attack complexity, and high impact on integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided at this time. Until a patch is available, users should restrict access to the rsync destination path and its parent directories to trusted users only to prevent manipulation of path components. Monitor vendor communications for updates on fixes.
CVE-2026-53796: CWE-59 Improper Link Resolution Before File Access ('Link Following') in RsyncProject rsync
Description
rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the non-daemon receiver's destination directory handling that allows an attacker who can manipulate destination path parent components to redirect file writes to unintended locations. Attackers can substitute a symlink for a component of the destination path between the path resolution and chdir() call, causing the receiver's working directory to be established outside the intended destination tree so that subsequent relative-path file writes land in unintended filesystem locations.
CVSS v4.0
Score 5.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-53796 describes a TOCTOU race condition in rsync before version 3.5.0. The vulnerability occurs in the non-daemon receiver's destination directory handling, where an attacker able to manipulate parent components of the destination path can replace a path component with a symbolic link between path resolution and the chdir() system call. This causes the working directory to be set outside the intended destination tree, resulting in subsequent relative-path file writes landing in unintended filesystem locations.
Potential Impact
An attacker with the ability to manipulate the destination path parent components can redirect file writes to arbitrary locations on the filesystem. This could potentially lead to unauthorized file overwrites or placement of malicious files outside the intended directory, impacting system integrity. The CVSS 4.0 score is 5.8 (medium severity), reflecting the local attack vector, high attack complexity, and high impact on integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided at this time. Until a patch is available, users should restrict access to the rsync destination path and its parent directories to trusted users only to prevent manipulation of path components. Monitor vendor communications for updates on fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-10T20:14:32.828Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7ddec6bf8831d5395cfced
Added to database: 08/13/2026, 15:12:06 UTC
Last enriched: 08/13/2026, 15:44:27 UTC
Last updated: 08/13/2026, 19:13:13 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.