cve.bz

CVE-2026-53796 samba rsync: Link Following

5.8 mediumEPSS 0.1%

Medium (5.8) in samba rsync. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the non-daemon receiver's destination directory handling that allows an attacker who can manipulate destination path parent components to redirect file writes to unintended locations. Attackers can substitute a symlink for a component of the destination path between the path resolution and chdir() call, causing the receiver's working directory to be established outside the intended destination tree so that subsequent relative-path file writes land in unintended filesystem locations.

Severity

CVSS 4.0

5.8 medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

6.3 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53796 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53796?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53796?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-53796 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 rsyncthrough 3.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12rsync3.5.0+ds1-0+deb12u1DEBIAN-CVE-2026-53796 DLA-4888-1
Debian13rsync3.5.0+ds1-0+deb13u1DEBIAN-CVE-2026-53796 DSA-6527-1
Debian14rsync3.5.0+ds1-1DEBIAN-CVE-2026-53796
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 4 morersyncno fix listedUBUNTU-CVE-2026-53796
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morersync3.2.3-150400.3.34.1SUSE-SU-2026:3634-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6rsync3.2.7-150600.3.24.1SUSE-SU-2026:3657-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0rsync3.4.1-160000.6.1SUSE-SU-2026:23323-1
SUSELinux Micro 6.0rsync3.2.7-8.1SUSE-SU-2026:23253-1
SUSELinux Micro 6.1rsync3.3.0-slfo.1.1_7.1SUSE-SU-2026:23254-1
SUSELinux Micro 6.2rsync3.4.1-160000.6.1SUSE-SU-2026:23289-1
openSUSELeap 16.0rsync3.4.1-160000.6.1openSUSE-SU-2026:21650-1
openSUSETumbleweedrsync3.5.1-1.1openSUSE-SU-2026:11869-1
Alpinev3.21, v3.22, v3.23 and 1 morersync3.5.0-r0ALPINE-CVE-2026-53796
Azure Linux3rsync3.5.0-1AZL-95816
Alpaquita23, 25, streamrsync3.5.0-r0BELL-CVE-2026-53796

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; 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 · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate severity time-of-check to time-of-use (TOCTOU) race condition in the rsync non-daemon receiver allows a local attacker to redirect file writes to unintended locations. To exploit this flaw, the attacker must manipulate destination path parent components during an active rsync operation. The vulnerability is rated Moderate because successful exploitation is highly dependent on specific environmental conditions and user interaction.

Red Hat's mitigation

To mitigate this avoid running privileged rsync into destination paths modifiable by untrusted users, and enable kernel-level protections by setting fs.protected_symlinks = 1 in your system's sysctl.conf to block the underlying race condition.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rsyncFix deferred
Red Hat Enterprise Linux 6rsyncOut of support scope
Red Hat Enterprise Linux 7rsyncOut of support scope
Red Hat Enterprise Linux 8rsyncFix deferred
Red Hat Enterprise Linux 9rsyncFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

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

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
  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

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

References

Check your stackJSON