cve.bz

CVE-2026-53790 samba rsync: OS Command Injection

9.2 criticalEPSS 0.6%

Critical (9.2) in samba rsync. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
rsync before 3.5.0 contains multiple command and argument injection vulnerabilities that allow attackers to execute arbitrary commands by supplying malicious input through several code paths, including the RSYNC_CONNECT_PROG environment variable, daemon hooks, the rsync-ssl wrapper, and remote-shell command newline injection. Attackers can inject shell metacharacters or newline characters into unsanitized user-supplied values such as hostnames and hostspecs to execute arbitrary commands under the privileges of the rsync process or the invoking user.

Severity

CVSS 4.0

9.2 critical
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st 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: total, assessed 2026-08-13. 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-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
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-53790 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53790?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53790?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-53790 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-53790 DLA-4888-1
Debian13rsync3.5.0+ds1-0+deb13u1DEBIAN-CVE-2026-53790 DSA-6527-1
Debian14rsync3.5.0+ds1-1DEBIAN-CVE-2026-53790
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 4 morersyncno fix listedUBUNTU-CVE-2026-53790
Red Hatenterprise_linux:8::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-28.el8_10RHSA-2026:74095
Red Hatenterprise_linux:9::appstreamrsync-daemon, rsync-rrsync0:3.2.7-1.el9_8RHSA-2026:67462
Red Hatenterprise_linux:9::baseosrsync, rsync-debuginfo, rsync-debugsource0:3.2.7-1.el9_8RHSA-2026:67462
Red Hatenterprise_linux:10.2rsync, rsync-daemon, rsync-rrsync and 2 more0:3.5.0-3.el10_2RHSA-2026:67463
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
AlmaLinux8rsync, rsync-daemon3.1.3-28.el8_10ALSA-2026:74095
AlmaLinux9rsync, rsync-daemon, rsync-rrsync3.2.7-1.el9_8ALSA-2026:67462
AlmaLinux10rsync-daemon, rsync-rrsync3.5.0-3.el10_2ALSA-2026:67463
Rocky Linux8rsync0:3.1.3-28.el8_10RLSA-2026:74095
Rocky Linux9rsync0:3.2.7-1.el9_8RLSA-2026:67462
Rocky Linux10rsync0:3.5.0-3.el10_2RLSA-2026:67463
Alpinev3.21, v3.22, v3.23 and 1 morersync3.5.0-r0ALPINE-CVE-2026-53790
Azure Linux3rsync3.5.0-1AZL-95834
Alpaquita23, 25, streamrsync3.5.0-r0BELL-CVE-2026-53790

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 Important vulnerability in rsync allows for remote command injection due to insufficient sanitization of user-supplied input across multiple code paths. While the attack complexity is high, successful exploitation could lead to arbitrary command execution under the privileges of the rsync process or the invoking user, impacting confidentiality, integrity, and availability. This risk is particularly relevant in environments where rsync is used for remote synchronization with untrusted sources or destinations.

Red Hat's mitigation

Do not set RSYNC_CONNECT_PROG or pass untrusted hostnames/paths into rsync / rsync-ssl. If rsyncd is required, omit pre-xfer/post-xfer/early exec unless the command ignores client-controlled RSYNC_* values, and restrict TCP/873 to trusted clients

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rsync-0:3.5.0-3.el10_2Fixed 2026-09-14RHSA-2026:67463
Red Hat Enterprise Linux 8rsync-0:3.1.3-28.el8_10Fixed 2026-09-30RHSA-2026:74095
Red Hat Enterprise Linux 9rsync-0:3.2.7-1.el9_8Fixed 2026-09-14RHSA-2026:67462
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202609221802-0Fixed 2026-09-29RHSA-2026:71446
Red Hat Cost Management On-Premise 1costmanagement/costmanagement-ui-rhel10:1791460851Fixed 2026-10-08RHSA-2026:79357
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-53790.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

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

References

Check your stackJSON