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… (CVE-2026-53796)
Description
A time-of-check to time-of-use (TOCTOU) race condition vulnerability exists in rsync versions before 3.5.0 in the non-daemon receiver's destination directory handling. This flaw allows an attacker who can manipulate the destination path's parent components to redirect file writes to unintended filesystem locations by substituting a symlink between path resolution and directory change operations. The vulnerability has a CVSS score of 6.3, indicating medium severity.
CVSS v3.1
Score 6.3medium
Affected software
pkg:deb/ubuntu/rsync?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/rsync?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/rsync?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/rsync?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/rsync?arch=source&distro=jammypkg:deb/ubuntu/rsync?arch=source&distro=noblepkg:deb/ubuntu/rsync?arch=source&distro=stonkingpkg:deb/ubuntu/rsync?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
rsync before version 3.5.0 contains a TOCTOU race condition vulnerability in the handling of the destination directory by the non-daemon receiver. An attacker capable of manipulating the parent components of the destination path can substitute a symbolic link between the time the path is checked and the time the process changes directory (chdir()). This causes the receiver's working directory to be established outside the intended destination tree, resulting in subsequent relative-path file writes being redirected to unintended filesystem locations.
Potential Impact
The vulnerability allows an attacker with the ability to manipulate destination path parent components to redirect file writes to arbitrary locations on the filesystem. This can lead to unauthorized modification of files outside the intended destination directory, potentially impacting system integrity and availability. The CVSS vector indicates local attack vector with high attack complexity and low privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects rsync versions before 3.5.0, upgrading to version 3.5.0 or later is recommended once an official fix is available. Until then, restrict access to rsync destination paths to trusted users to prevent manipulation of destination path components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-53796
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad3f6012cdf04f656664005
Added to database: 10/17/2026, 22:26:09 UTC
Last enriched: 10/18/2026, 00:51:02 UTC
Last updated: 10/18/2026, 00:51:02 UTC
Views: 2
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.