Skip to content
Threat Feed
high advisory

Multiple Command and Argument Injection Vulnerabilities in rsync

Versions of rsync prior to 3.5.0 contain multiple command and argument injection flaws that allow attackers to execute arbitrary code via malicious hostnames, environment variables, and shell command injections.

CVE search metadata

CVE search record: CVE-2026-53790. Severity: high. CVSS: 8.1. KEV: no. Product: rsync, rsync (2.0.0-3.4.9). Brief: Multiple Command and Argument Injection Vulnerabilities in rsync. Brief link: https://feed.craftedsignal.io/briefs/2026-08-rsync-injection/

What's new

  • 1. added coverage for rsync Aug 13, 16:56 via nvd
  • 2. added coverage for rsync (2.0.0-3.4.9) Aug 13, 15:42 via nvd
  • 3. added coverage for rsync Aug 13, 15:38 via nvd

The rsync utility, in versions prior to 3.5.0, is affected by multiple command and argument injection vulnerabilities. These flaws reside in several code paths including the RSYNC_CONNECT_PROG environment variable, daemon hooks, the rsync-ssl wrapper, and remote-shell command newline injection. The vulnerability stems from insufficient sanitization of user-supplied inputs, specifically hostnames and hostspecs passed to the utility. An attacker providing crafted input containing shell metacharacters or newline characters can achieve command injection, leading to execution of arbitrary code with the privileges of the user running the rsync process. This affects any system leveraging rsync for file synchronization or as a backend for transfer services. Defenders should prioritize updating rsync to version 3.5.0 or later to mitigate the risk of arbitrary command execution across Linux, macOS, and Windows environments.

Impact

Successful exploitation allows for arbitrary command execution on systems where rsync is invoked with attacker-controlled inputs. This poses a significant risk to servers, build systems, and automated backup pipelines that rely on rsync for remote data synchronization. Unauthorized code execution can lead to full system compromise, data exfiltration, or lateral movement within the network.

Recommendation

  • Upgrade the rsync binary to version 3.5.0 or higher across all affected server and workstation environments to patch CVE-2026-53790.
  • Implement strict input validation for any automated scripts, web interfaces, or command-line wrappers that pass user-supplied strings as hostnames or parameters to rsync.
  • Audit environment variables, specifically RSYNC_CONNECT_PROG, in automated execution environments to ensure they are not influenced by untrusted input sources.

Immediate actions

Upgrade rsync to 3.5.0 or later on all systems

IT Operations 48h