All vulnerabilities

Servers and applications

CVE-2026-53790

rsync: command / argument injection via unquoted peer- or host-controlled values

Severity
Critical 9.2
Published
13 Aug 2026
Last changed
6 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.5.0
Exploit chance
0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)Argument injection (CWE-88)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-5hcf-7xxm-rmqq
Sources
NVD, Project advisories (GitHub)

Description

Four injection sinks: (a) the RSYNC_CONNECT_PROG %H host substitution was placed into a shell command unquoted; (b) daemon exec hooks (pre-/post-xfer, early exec) expanded %RSYNC_*% values into a shell unquoted; (c) rsync-ssl expanded an untrusted SSL hostspec into the openssl/stunnel command line and stunnel config with no character policy; (d) the remote-shell argument quoting omitted newline/CR, so a newline in a remote path could split off a second command.

Fix: shell-quote the %H substitution; shell-escape hook expansions (without leaking the escaping into ordinary string parameters); validate rsync-ssl hostnames before invoking any helper; add newline/CR to the remote-shell quoting set.

Tests: connect-prog-host-quoting, daemon-exec-rsync-env-shell-escape, rsync-ssl-hostname-validation, remote-shell-newline-escaping.

Affected: rsync 3.4.3 and earlier; fixed in 3.5.0. (Precise introduced-in ranges being finalised.)

From RsyncProject/rsync's security advisory.

Affected software

SoftwareAffected versions
rsyncServers and applications · cpe:a:samba:rsync
  • Every version before 3.5.0
rsyncServers and applications · github:rsyncproject/rsync
  • Every version before 3.5.0

About rsync

file synchronization protocol and software

From Wikidata, CC0 1.0.
GitHub stars
5,367GitHub, 15 Nov 2026
Forks
631GitHub, 15 Nov 2026
Latest release
v3.5.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
Developer
Andrew TridgellWikidata
Written in
CWikidata
First released
19 Jun 1996Wikidata
First published on GitHub
25 May 2020GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-53790
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53790
  • GitHub Advisory Database https://github.com/advisories/GHSA-5hcf-7xxm-rmqq
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-5hcf-7xxm-rmqq