CVE-2026-29518
Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write
- State
- Published
- Severity
- 7.3 High
- Published
- May 20, 2026
- Updated
- Sep 1, 2026
- Reserved
- Mar 4, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.3 High | 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 | VulnCheck |
| 3.1 | 7.0 High | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Affected Products
| Product | Versions |
|---|---|
rsyncRsyncProject |
|
References
- https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531dissue-tracking
- https://github.com/RsyncProject/rsync/releases/tag/v3.4.3release-notes
- https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/technical-description
- https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-writethird-party-advisory
- https://access.redhat.com/security/cve/CVE-2026-29518vdb-entry
- RHBZ#2469055issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29518.json
- https://access.redhat.com/errata/RHSA-2026:54769vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26332vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26410vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26408vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29197vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.