CVE-2026-29518 in Samba 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 rac...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Samba | Rsync | < 3.4.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-29518 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-268956-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-05-20 |
| Last modified | 2026-08-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-367: CWE-367
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Rsync versions before 3.4.3 are vulnerable to a TOCTOU race condition that allows attackers to redirect file writes outside intended directories, potentially leading to the creation or overwriting of arbitrary files.
Attackers with write access to a module path can exploit this race condition by replacing parent directory components with symbolic links, thereby redirecting file writes to unintended locations.
Questions
What is CVE-2026-29518?
Rsync versions before 3.4.3 are vulnerable to a TOCTOU race condition that allows attackers to redirect file writes outside intended directories, potentially leading to the creation or overwriting of arbitrary files.
What is the CVSS score for CVE-2026-29518?
CVE-2026-29518 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.1%.
Is CVE-2026-29518 actively exploited?
No confirmed active exploitation of CVE-2026-29518 as of 2026-09-25.
How do I remediate CVE-2026-29518?
Priority: HIGH.
What systems are affected by CVE-2026-29518?
CVE-2026-29518 affects Samba Rsync.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Samba","product":"Rsync","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-19.