CVE-2026-53796

medium

Description

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.

References

https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling

https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m

https://github.com/RsyncProject/rsync/releases/tag/v3.5.0

Details

Source: Mitre, NVD

Published: 2026-08-13

Updated: 2026-08-13

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.3

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Severity: Medium

CVSS v4

Base Score: 5.8

Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Severity: Medium