CVE-2026-53801

Summary

rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.

Affected Software

VendorProductVersion RangeStatus
RsyncProjectrsync0 <= 3.4.4affected
RsyncProjectrsync3.5.0unaffected

Weaknesses

  • CWE-59: CWE-59 Improper Link Resolution Before File Access ('Link Following')
  • CWE-367: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

References