CVE-2026-29518
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-20
- Last modified
- 2026-08-19
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- disclosure@vulncheck.com
- Probability of exploitation
-
0.2 %
higher than 5 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Samba | Rsync | < 3.4.3 | Affected |
Weakness type
-
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
References
- https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd…
- https://github.com/RsyncProject/rsync/releases/tag/v3.4.3
- https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arb…
- https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/
- https://access.redhat.com/errata/RHSA-2026:26332
- https://access.redhat.com/errata/RHSA-2026:26408
- https://access.redhat.com/errata/RHSA-2026:26410
- https://access.redhat.com/errata/RHSA-2026:29197
- https://access.redhat.com/errata/RHSA-2026:54769
- https://access.redhat.com/security/cve/CVE-2026-29518
- https://bugzilla.redhat.com/show_bug.cgi?id=2469055
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29518.json
Related at Berigo
Articles
-
Six Samba vulnerabilities, two of them at maximum severity
Same product
2026-05-26
The Samba project has released fixes for six vulnerabilities, two of which allow remote code execution at CVSS 10.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.