Time-of-check Time-of-use (TOCTOU) Race Condition in Rsync - CVE-2026-53796

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Rsync - CVE-2026-53796

Published: August 13, 2026


Vulnerability identifier: #VU142283
CSH Severity: Low
CVSS v4: 5.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-53796
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to overwrite files outside the destination tree.

The vulnerability exists due to a time-of-check time-of-use race condition in the non-daemon receiver destination chdir handling when processing an operator-named destination directory. A local user can race the destination path from a directory to a symlink pointing outside the destination tree to overwrite files outside the destination tree.

This issue affects non-daemon receiver operation and can lead to local privilege escalation in scenarios such as privileged scheduled rsync runs over an attacker-controlled destination component.


Affected software

Rsync

How to mitigate CVE-2026-53796

Install security update from vendor's website.

Rsync - update to 3.5.0

External References

Related Security Bulletins