Description
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.
Published: 2026-08-13
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

rsync versions before 3.5.0 allow attackers to inject arbitrary commands by supplying malicious input through several code paths, including the RSYNC_CONNECT_PROG environment variable, daemon hooks, the rsync-ssl wrapper, and a newline injection in the remote‑shell command. This leads to execution of shell metacharacters or newline characters in unsanitized values such as hostnames and hostspecs, elevating the attacker’s privileges to that of the rsync process or the invoking user. The vulnerability is based on uncontrolled command injection and endpoint manipulation, as indicated by CWE‑78 and CWE‑88.

Affected Systems

The affected product is rsync from the RsyncProject. All installations of rsync older than version 3.5.0 are vulnerable. The vulnerability is triggered by untrusted input entered by the user or provided via environment variables or remote hooks.

Risk and Exploitability

The vulnerability has a CVSS score of 9.2, classifying it as critical. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog, but the lack of exploitation data does not reduce its potential risk. Attackers can exploit the flaw remotely by manipulating environment variables, remote‑shell commands, or hostspecs, so the attack vector is likely network‑based and requires remote access to the rsync daemon or the ability to spawn a command on an initiating machine. The SSL wrapper and daemon hooks provide multiple independent paths, increasing the likelihood that a successful exploitation can be achieved under various deployment scenarios.

Generated by OpenCVE AI on August 13, 2026 at 16:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update rsync to version 3.5.0 or later to remove the injection paths
  • If immediate upgrade is not possible, remove or sanitize the RSYNC_CONNECT_PROG environment variable and any custom daemon hooks that pass unsanitized data to the shell
  • Restrict execution of rsync as root and limit remote‑shell capabilities by configuring the "--no-detach" or "--no-rlimit" options as appropriate

Generated by OpenCVE AI on August 13, 2026 at 16:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Description 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.
Title rsync < 3.5.0 Command Injection via Multiple Code Paths
Weaknesses CWE-78
CWE-88
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T15:33:15.995Z

Reserved: 2026-06-10T20:14:32.827Z

Link: CVE-2026-53790

cve-icon Vulnrichment

Updated: 2026-08-13T15:33:11.920Z

cve-icon NVD

Status : Received

Published: 2026-08-13T15:19:43.200

Modified: 2026-08-13T16:18:06.730

Link: CVE-2026-53790

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T17:00:04Z

Weaknesses
  • 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')