CVE-2026-29518

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.
Configurations

Configuration 1 (hide)

cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*

History

26 May 2026, 16:16

Type Values Removed Values Added
References
  • () https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/ -

21 May 2026, 17:05

Type Values Removed Values Added
References () https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d - () https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d - Patch
References () https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 - () https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 - Release Notes
References () https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-write - () https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-write - Third Party Advisory
CPE cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
First Time Samba
Samba rsync

20 May 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-20 13:16

Updated : 2026-05-26 16:16


NVD link : CVE-2026-29518

Mitre link : CVE-2026-29518

CVE.ORG link : CVE-2026-29518


JSON object : View

Products Affected

samba

  • rsync
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition