← Vulnerability feed

Vulnerability record · CVE-2026-29518 · published 20 May 2026

CVE-2026-29518: Samba rsync toctou race condition vulnerability

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 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.

7.3 CVSS 4.0 High EPSS 0.14% · top 97.2% CWE-367 · TOCTOU race condition
7.3CVSS 4.0 base score
0.14%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References
19 Aug 2026Last modified by NVD

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:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-29518 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-12084rsync daemon heap buffer overflow via attacker-controlled checksum lengthThe rsync daemon mishandles attacker-controlled checksum lengths (s2length), allowing an out-of-bounds write in the sum2 buffer when MAX_DIGEST_LEN e…EPSS 72%analysed9.8CVE-2017-17434Samba rsync vulnerabilityThe daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (i…EPSS 3.3%9.8CVE-2017-16548Samba rsync out-of-bounds read vulnerabilityThe receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character in an xattr name, which allo…EPSS 5.8%9.8CVE-2017-15994Samba rsync vulnerabilityrsync 3.1.3-development before 2017-10-24 mishandles archaic checksums, which makes it easier for remote attackers to bypass intended access restrict…EPSS 1.0%9.1CVE-2026-53791Samba rsync authentication bypass by spoofing vulnerabilityrsync daemon before 3.5.0 contains an IP address spoofing vulnerability that allows unauthenticated remote attackers to bypass IP-based access contro…EPSS 0.71%8.8CVE-2026-70461Samba rsync out-of-bounds write vulnerabilityrsync 3.2.5 before 3.5.0 contains a heap out-of-bounds write vulnerability that allows remote unauthenticated attackers to write one attacker-control…EPSS 0.79%8.7CVE-2026-70455Samba rsync allocation without limits vulnerabilityrsync 3.4.2 before 3.5.0 contains a denial of service vulnerability that allows a remote sender to exhaust system resources by specifying the --zt sh…EPSS 0.78%8.6CVE-2026-70463Samba rsync incorrect authorization vulnerabilityrsync 3.1.0 before 3.5.0 contains an authorization bypass in auth users directive parsing. The auth users parser uses comma-only tokenization when sp…EPSS 0.47%

Source: NIST National Vulnerability Database (record CVE-2026-29518), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.