CVE-2026-53796

NameCVE-2026-53796
Descriptionrsync 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rsync (PTS)bookworm3.2.7-1+deb12u6vulnerable
bookworm (security)3.2.7-1+deb12u5vulnerable
trixie3.4.1+ds1-5+deb13u4vulnerable
trixie (security)3.4.1+ds1-5+deb13u3vulnerable
forky, sid3.5.0+ds1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rsyncsource(unstable)3.5.0+ds1-1

Notes

https://download.samba.org/pub/rsync/NEWS#3.5.0

Search for package or bug name: Reporting problems