Time-of-check Time-of-use (TOCTOU) Race Condition in RsyncProject rsync (CVE-2026-29518)
A time-of-check to time-of-use (TOCTOU) race condition exists in rsync versions before 3.4.3 when running in daemon mode with chroot disabled. This vulnerability allows attackers with write access to a module path to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Exploitation can lead to arbitrary file creation or overwriting, potentially modifying sensitive system files and enabling privilege escalation if the daemon runs with elevated privileges. A security update rebasing rsync to version 3.4.4 is available from Red Hat to address this issue.
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 arises when the chroot setting is false, allowing an attacker with write access to a module path to replace parent directory components with symbolic links during file synchronization. This can redirect file writes outside the intended directory, enabling creation or overwriting of arbitrary files. If the rsync daemon runs with elevated privileges, this can lead to privilege escalation. Red Hat has issued an advisory (RHSA-2026:26332) providing a security update that rebases rsync to version 3.4.4, which fixes this vulnerability.
Potential Impact
Attackers with write access to the rsync module path can exploit this race condition to create or overwrite arbitrary files outside the intended directories. This can result in modification of sensitive system files and potential privilege escalation when the rsync daemon runs with elevated privileges and chroot is disabled. The vulnerability has a CVSS score of 7.3 (high severity). There are no known exploits in the wild at this time.
Mitigation Recommendations
A security update rebasing rsync to version 3.4.4 is available from Red Hat as detailed in advisory RHSA-2026:26332. Applying this update will remediate the TOCTOU race condition vulnerability. Users should upgrade affected rsync packages to version 3.4.4 or later. Since this is not a cloud service, remediation is the responsibility of the system administrator. Patch status is confirmed by the vendor advisory.
Time-of-check Time-of-use (TOCTOU) Race Condition in RsyncProject rsync (CVE-2026-29518)
Description
A time-of-check to time-of-use (TOCTOU) race condition exists in rsync versions before 3.4.3 when running in daemon mode with chroot disabled. This vulnerability allows attackers with write access to a module path to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Exploitation can lead to arbitrary file creation or overwriting, potentially modifying sensitive system files and enabling privilege escalation if the daemon runs with elevated privileges. A security update rebasing rsync to version 3.4.4 is available from Red Hat to address this issue.
CVSS v4.0
Score 7.3high
Affected software
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 arises when the chroot setting is false, allowing an attacker with write access to a module path to replace parent directory components with symbolic links during file synchronization. This can redirect file writes outside the intended directory, enabling creation or overwriting of arbitrary files. If the rsync daemon runs with elevated privileges, this can lead to privilege escalation. Red Hat has issued an advisory (RHSA-2026:26332) providing a security update that rebases rsync to version 3.4.4, which fixes this vulnerability.
Potential Impact
Attackers with write access to the rsync module path can exploit this race condition to create or overwrite arbitrary files outside the intended directories. This can result in modification of sensitive system files and potential privilege escalation when the rsync daemon runs with elevated privileges and chroot is disabled. The vulnerability has a CVSS score of 7.3 (high severity). There are no known exploits in the wild at this time.
Mitigation Recommendations
A security update rebasing rsync to version 3.4.4 is available from Red Hat as detailed in advisory RHSA-2026:26332. Applying this update will remediate the TOCTOU race condition vulnerability. Users should upgrade affected rsync packages to version 3.4.4 or later. Since this is not a cloud service, remediation is the responsibility of the system administrator. Patch status is confirmed by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:26332
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-43618"]
- Cvss Version
- null
Threat ID: 6a3270570b89be68881d3b31
Added to database: 06/17/2026, 10:00:55 UTC
Last enriched: 07/15/2026, 15:58:23 UTC
Last updated: 07/31/2026, 19:24:49 UTC
Views: 286
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.