CVE-2026-29518: Time-of-check Time-of-use (TOCTOU) Race Condition in RsyncProject rsync
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.
AI Analysis
Technical Summary
CVE-2026-29518 is a TOCTOU race condition vulnerability in rsync daemon file handling prior to version 3.4.3. The flaw occurs when the chroot setting is false, enabling attackers with write access to a module path to replace parent directory components with symbolic links during file operations. This race condition allows redirection of file writes outside intended directories, enabling creation or overwriting of arbitrary files. If the rsync daemon runs with elevated privileges, this can lead to privilege escalation. The vulnerability has a CVSS 4.0 base score of 7.3, indicating high severity. Red Hat advisories confirm the issue and provide updates rebasing rsync to version 3.4.4 to address this and other vulnerabilities.
Potential Impact
An attacker with write access to the rsync module path can exploit this race condition to create or overwrite arbitrary files outside the intended directory structure. This can result in modification of sensitive system files and potential privilege escalation when the rsync daemon operates with elevated privileges. The vulnerability requires the daemon to run without chroot enabled, limiting the attack surface but still posing a significant risk in affected configurations.
Mitigation Recommendations
Red Hat has released updates rebasing rsync to version 3.4.4 that fix this TOCTOU race condition vulnerability. Users should apply the official security updates provided by Red Hat for their respective distributions to remediate this issue. Since the vulnerability only occurs when the daemon runs without chroot, enabling chroot can also mitigate the risk. Patch status is confirmed by Red Hat advisories linked in the vendor advisory URLs. No known exploits are reported in the wild at this time.
CVE-2026-29518: Time-of-check Time-of-use (TOCTOU) Race Condition in RsyncProject rsync
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.
CVSS v4.0
Score 7.3high
Affected software
pkg:github/rsyncproject/rsyncRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-29518 is a TOCTOU race condition vulnerability in rsync daemon file handling prior to version 3.4.3. The flaw occurs when the chroot setting is false, enabling attackers with write access to a module path to replace parent directory components with symbolic links during file operations. This race condition allows redirection of file writes outside intended directories, enabling creation or overwriting of arbitrary files. If the rsync daemon runs with elevated privileges, this can lead to privilege escalation. The vulnerability has a CVSS 4.0 base score of 7.3, indicating high severity. Red Hat advisories confirm the issue and provide updates rebasing rsync to version 3.4.4 to address this and other vulnerabilities.
Potential Impact
An attacker with write access to the rsync module path can exploit this race condition to create or overwrite arbitrary files outside the intended directory structure. This can result in modification of sensitive system files and potential privilege escalation when the rsync daemon operates with elevated privileges. The vulnerability requires the daemon to run without chroot enabled, limiting the attack surface but still posing a significant risk in affected configurations.
Mitigation Recommendations
Red Hat has released updates rebasing rsync to version 3.4.4 that fix this TOCTOU race condition vulnerability. Users should apply the official security updates provided by Red Hat for their respective distributions to remediate this issue. Since the vulnerability only occurs when the daemon runs without chroot, enabling chroot can also mitigate the risk. Patch status is confirmed by Red Hat advisories linked in the vendor advisory URLs. No known exploits are reported in the wild at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-03-04T15:39:26.872Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-29518","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26332","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26410","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26408","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29197","vendor":"Red Hat"}]
Threat ID: 6a0db4daba1db473627ecd20
Added to database: 05/20/2026, 13:19:22 UTC
Last enriched: 07/15/2026, 08:49:13 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.