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 RsyncProject's rsync daemon file handling prior to version 3.4.3. The flaw arises when the chroot setting is false, enabling an attacker who has write access to a module path to replace directory components with symbolic links during the race window. This manipulation allows redirection of file writes outside the intended directory tree, permitting 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 score of 7.3, indicating high severity. No official patch or remediation level has been confirmed yet.
Potential Impact
Successful exploitation permits attackers with write access to a module path to create or overwrite arbitrary files outside the intended directory, including sensitive system files. This can lead to privilege escalation if the rsync daemon is running with elevated privileges. The vulnerability requires the daemon's chroot setting to be disabled and does not involve user interaction. The attack complexity is high, and privileges required are low, reflecting the need for some access but no user involvement.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the rsync daemon with the chroot setting disabled. Restrict write access to module paths to trusted users only. Monitor vendor communications for updates regarding patches or official mitigations.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-29518 is a TOCTOU race condition vulnerability in RsyncProject's rsync daemon file handling prior to version 3.4.3. The flaw arises when the chroot setting is false, enabling an attacker who has write access to a module path to replace directory components with symbolic links during the race window. This manipulation allows redirection of file writes outside the intended directory tree, permitting 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 score of 7.3, indicating high severity. No official patch or remediation level has been confirmed yet.
Potential Impact
Successful exploitation permits attackers with write access to a module path to create or overwrite arbitrary files outside the intended directory, including sensitive system files. This can lead to privilege escalation if the rsync daemon is running with elevated privileges. The vulnerability requires the daemon's chroot setting to be disabled and does not involve user interaction. The attack complexity is high, and privileges required are low, reflecting the need for some access but no user involvement.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the rsync daemon with the chroot setting disabled. Restrict write access to module paths to trusted users only. Monitor vendor communications for updates regarding patches or official mitigations.
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
Threat ID: 6a0db4daba1db473627ecd20
Added to database: 5/20/2026, 1:19:22 PM
Last enriched: 5/20/2026, 1:36:55 PM
Last updated: 5/20/2026, 3:39:32 PM
Views: 3
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.