---
id: CVE-2026-53796
title: "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…"
summary: "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…"
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-59
  - CWE-367
published: '2026-08-13'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:28:37.587'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53796'
references:
  - url: 'https://github.com/RsyncProject/rsync/releases/tag/v3.5.0'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00115
epssPercentile: 0.01371
ingestedAt: '2026-09-08T21:11:12.277Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
