CVE-2026-53796: CWE-59 Improper Link Resolution Before File Access ('Link Following') in RsyncProject rsync
A time-of-check to time-of-use (TOCTOU) race condition exists in rsync before version 3.5.0 in the non-daemon receiver's handling of the destination directory. This vulnerability allows an attacker who can manipulate the destination path's parent components to redirect file writes to unintended locations by substituting a symlink between path resolution and the directory change operation. This causes the working directory to be set outside the intended destination tree, potentially leading to unauthorized file writes.
AI Analysis
Technical Summary
CVE-2026-53796 is a TOCTOU race condition vulnerability in rsync versions before 3.5.0 affecting the non-daemon receiver's destination directory handling. An attacker able to manipulate components of the destination path can replace a path component with a symbolic link after the path is checked but before the directory change (chdir()) call. This results in the receiver's working directory being established outside the intended destination directory tree, causing subsequent relative-path file writes to be redirected to unintended filesystem locations. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access).
Potential Impact
An attacker with the ability to influence the destination path parent components can cause rsync to write files outside the intended directory tree. This could lead to unauthorized file modification or overwriting in arbitrary filesystem locations accessible to the rsync process, potentially impacting system integrity or security depending on the context of use.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running vulnerable versions of rsync in environments where untrusted users can influence destination path components. Monitor vendor channels for updates regarding patches or official mitigations.
CVE-2026-53796: CWE-59 Improper Link Resolution Before File Access ('Link Following') in RsyncProject rsync
Description
A time-of-check to time-of-use (TOCTOU) race condition exists in rsync before version 3.5.0 in the non-daemon receiver's handling of the destination directory. This vulnerability allows an attacker who can manipulate the destination path's parent components to redirect file writes to unintended locations by substituting a symlink between path resolution and the directory change operation. This causes the working directory to be set outside the intended destination tree, potentially leading to unauthorized file writes.
CVSS v4.0
Score 5.8medium
Affected software
RsyncProject
rsync
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 is a TOCTOU race condition vulnerability in rsync versions before 3.5.0 affecting the non-daemon receiver's destination directory handling. An attacker able to manipulate components of the destination path can replace a path component with a symbolic link after the path is checked but before the directory change (chdir()) call. This results in the receiver's working directory being established outside the intended destination directory tree, causing subsequent relative-path file writes to be redirected to unintended filesystem locations. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access).
Potential Impact
An attacker with the ability to influence the destination path parent components can cause rsync to write files outside the intended directory tree. This could lead to unauthorized file modification or overwriting in arbitrary filesystem locations accessible to the rsync process, potentially impacting system integrity or security depending on the context of use.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running vulnerable versions of rsync in environments where untrusted users can influence destination path components. Monitor vendor channels for updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-10T20:14:32.828Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a7ddec6bf8831d5395cfced
Added to database: 08/13/2026, 15:12:06 UTC
Last enriched: 08/21/2026, 13:38:07 UTC
Last updated: 09/25/2026, 13:47:46 UTC
Views: 41
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.