CVE-2026-29518 Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write

High 7.3 Published Updated

Attackers can exploit a race condition in Rsync to write arbitrary files and escalate privileges if chroot is disabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-29518?

CVE-2026-29518 is a high-severity vulnerability in RsyncProject rsync, published on 20 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-367

Which versions are affected by CVE-2026-29518?

It affects 1 product.

Products include Samba Rsync.

How do I fix CVE-2026-29518?

Upgrade to a fixed version.

Is CVE-2026-29518 being exploited?

There is no known exploitation of CVE-2026-29518 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-29518, AZL-87012, BELL-CVE-2026-29518, CLSA-2026-1779694338, CLSA-2026-1779694460, CLSA-2026-1779694727 and 12 more.

Is CVE-2026-29518 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free