CVE-2026-53796

published 13 Aug 2026 · updated 6 Nov 2026

rsync < 3.5.0 TOCTOU Race Condition via Destination Directory Handling

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in rsync 3.5.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
RsyncProject<=3.4.4
Sambarsync<3.5.03.5.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Samba, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-53796 severity on Zeptric[![CVE-2026-53796](https://zeptric.io/badge/cve/CVE-2026-53796.svg)](https://zeptric.io/cve/CVE-2026-53796)