Skip to main content

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)

0
Medium
Published: 08/13/2026 (08/13/2026, 15:19:00 UTC)
Source: GCVE Database
Product: rsync

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

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=3.0.9-4ubuntu1=3.1.0-2=3.1.0-2ubuntu0.1=3.1.0-2ubuntu0.2=3.1.0-2ubuntu0.3=3.1.0-2ubuntu0.4=3.1.0-2ubuntu0.4+esm1=3.1.0-2ubuntu0.4+esm2=3.1.0-2ubuntu0.4+esm3=3.1.0-2ubuntu0.4+esm4
Ubuntu:Pro:16.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=3.1.1-3=3.1.1-3ubuntu1=3.1.1-3ubuntu1.1=3.1.1-3ubuntu1.2=3.1.1-3ubuntu1.3=3.1.1-3ubuntu1.3+esm1=3.1.1-3ubuntu1.3+esm2=3.1.1-3ubuntu1.3+esm3=3.1.1-3ubuntu1.3+esm4=3.1.1-3ubuntu1.3+esm5=3.1.1-3ubuntu1.3+esm6
Ubuntu:Pro:18.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=esm-infra/bionic
Affected versions
=3.1.2-2=3.1.2-2.1=3.1.2-2.1ubuntu1=3.1.2-2.1ubuntu1.1=3.1.2-2.1ubuntu1.2=3.1.2-2.1ubuntu1.3=3.1.2-2.1ubuntu1.4=3.1.2-2.1ubuntu1.5=3.1.2-2.1ubuntu1.6=3.1.2-2.1ubuntu1.6+esm1=3.1.2-2.1ubuntu1.6+esm2=3.1.2-2.1ubuntu1.6+esm3=3.1.2-2.1ubuntu1.6+esm4
Ubuntu:Pro:20.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=esm-infra/focal
Affected versions
=3.1.3-6=3.1.3-8=3.1.3-8ubuntu0.1=3.1.3-8ubuntu0.2=3.1.3-8ubuntu0.3=3.1.3-8ubuntu0.4=3.1.3-8ubuntu0.5=3.1.3-8ubuntu0.7=3.1.3-8ubuntu0.8=3.1.3-8ubuntu0.9=3.1.3-8ubuntu0.9+esm1=3.1.3-8ubuntu0.9+esm2
Ubuntu:22.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=jammy
Affected versions
=3.2.3-4ubuntu1=3.2.3-4ubuntu2=3.2.3-8ubuntu1=3.2.3-8ubuntu2=3.2.3-8ubuntu3=3.2.3-8ubuntu3.1=3.2.7-0ubuntu0.22.04.2=3.2.7-0ubuntu0.22.04.3=3.2.7-0ubuntu0.22.04.4=3.2.7-0ubuntu0.22.04.6=3.2.7-0ubuntu0.22.04.7
Ubuntu:24.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=noble
Affected versions
=3.2.7-1=3.2.7-1build1=3.2.7-1build2=3.2.7-1ubuntu1=3.2.7-1ubuntu1.1=3.2.7-1ubuntu1.2=3.2.7-1ubuntu1.4=3.2.7-1ubuntu1.5
Ubuntu:26.10more threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=stonking
Affected versions
=3.4.1+ds1-7=3.4.4+ds1-1=3.4.4+ds1-1build1=3.5.0+ds1-2
Ubuntu:26.04:LTSmore threats →ghsa
rsync
pkg:deb/ubuntu/rsync?arch=source&distro=resolute
Affected versions
=3.4.1+ds1-5ubuntu1=3.4.1+ds1-6=3.4.1+ds1-7=3.4.1+ds1-7ubuntu0.2=3.4.1+ds1-7ubuntu0.3

Run 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

AILast updated: 10/18/2026, 00:51:02 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses