cve.bz

CVE-2026-29518 samba rsync

7.3 highEPSS 0.2%Fix available

High (7.3) in samba rsync. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.3 high
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

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-29518 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-29518?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-29518?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-29518 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
RsyncProject rsyncbefore 3.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11rsync3.2.3-4+deb11u4DLA-4591-1
Debian12rsync3.2.7-1+deb12u5DEBIAN-CVE-2026-29518 DSA-6282-1
Debian13rsync3.4.1+ds1-5+deb13u3DEBIAN-CVE-2026-29518 DSA-6282-1
Debian14rsync3.4.3+ds1-1DEBIAN-CVE-2026-29518
Ubuntu22.04:LTSrsync3.2.7-0ubuntu0.22.04.6UBUNTU-CVE-2026-29518 USN-8283-1
Ubuntu24.04:LTSrsync3.2.7-1ubuntu1.4UBUNTU-CVE-2026-29518 USN-8283-1
Ubuntu25.10rsync3.4.1+ds1-5ubuntu1.2UBUNTU-CVE-2026-29518 USN-8283-1
Ubuntu26.04:LTSrsync3.4.1+ds1-7ubuntu0.2UBUNTU-CVE-2026-29518 USN-8283-1
UbuntuPro:14.04:LTSrsync3.1.0-2ubuntu0.4+esm3UBUNTU-CVE-2026-29518 USN-8349-1
UbuntuPro:16.04:LTSrsync3.1.1-3ubuntu1.3+esm5UBUNTU-CVE-2026-29518 USN-8349-1
UbuntuPro:18.04:LTSrsync3.1.2-2.1ubuntu1.6+esm3UBUNTU-CVE-2026-29518 USN-8349-1
UbuntuPro:20.04:LTSrsync3.1.3-8ubuntu0.9+esm1UBUNTU-CVE-2026-29518 USN-8349-1
Red Hatenterprise_linux:8::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-27.el8_10RHSA-2026:26408
Red Hatenterprise_linux:9::appstreamrsync-daemon, rsync-rrsync0:3.2.5-7.el9_8.2RHSA-2026:26410
Red Hatenterprise_linux:9::baseosrsync, rsync-debuginfo, rsync-debugsource0:3.2.5-7.el9_8.2RHSA-2026:26410
Red Hatenterprise_linux:10.2rsync, rsync-daemon, rsync-rrsync and 2 more0:3.4.4-1.el10_2RHSA-2026:26332
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5rsync3.1.3-3.46.1SUSE-SU-2026:3629-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0rsync3.4.1-160000.4.1SUSE-SU-2026:22015-1
openSUSETumbleweedrsync3.4.3-1.1openSUSE-SU-2026:10857-1
AlmaLinux8rsync, rsync-daemon3.1.3-27.el8_10ALSA-2026:26408
AlmaLinux9rsync, rsync-daemon, rsync-rrsync3.2.5-7.el9_8.2ALSA-2026:26410
AlmaLinux10rsync-daemon, rsync-rrsync3.4.4-1.el10_2ALSA-2026:26332
Rocky Linux8rsync0:3.1.3-27.el8_10RLSA-2026:26408
Rocky Linux9rsync0:3.2.5-7.el9_8.2RLSA-2026:26410
Rocky Linux10rsync0:3.4.4-1.el10_2RLSA-2026:26332
Alpinev3.20, v3.21, v3.22 and 2 morersync3.4.3-r0ALPINE-CVE-2026-29518
Azure Linux3rsync3.4.3-1AZL-87012
Alpaquita23, 25, streamrsync3.4.3-r0BELL-CVE-2026-29518

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw, a Time-of-Check Time-of-Use (TOCTOU) race condition, allows a local attacker with write access to an rsync module path to achieve privilege escalation. This vulnerability specifically impacts rsync daemons configured with `use chroot = no`. Red Hat's default rsync daemon configuration utilizes `use chroot = yes`, which is not susceptible to this issue.

Red Hat's mitigation

To prevent exploitation, ensure the rsync daemon is configured with `use chroot = yes`. This setting, which is the default, isolates the rsync process and prevents the symlink race condition. If `use chroot = no` is present in the rsync configuration (e.g., `/etc/rsyncd.conf`), it must be changed to `use chroot = yes`. A restart of the rsync service is required for any configuration changes to take effect.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rsync-0:3.4.4-1.el10_2Fixed 2026-06-16RHSA-2026:26332
Red Hat Enterprise Linux 8rsync-0:3.1.3-27.el8_10Fixed 2026-06-16RHSA-2026:26408
Red Hat Enterprise Linux 9rsync-0:3.2.5-7.el9_8.2Fixed 2026-06-16RHSA-2026:26410
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202608130832-0Fixed 2026-08-18RHSA-2026:54769
Red Hat Discovery 2discovery/discovery-ui-rhel9:1782166952Fixed 2026-06-24RHSA-2026:29197
Red Hat Enterprise Linux 6rsyncAffected
Red Hat Enterprise Linux 7rsyncAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-29518.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON