All vulnerabilities

Servers and applications

CVE-2026-70452

rsync: `hosts deny` fails OPEN when a configured hostname cannot be resolved, admitting the host it was meant to block

Severity
Critical 9.1
Published
13 Aug 2026
Last changed
6 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.5.0
Exploit chance
0.4% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-636Incorrect authorization (CWE-863)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/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-6692-28cx-wpqq
Sources
NVD, Project advisories (GitHub)

Description

match_hostname() performs a forward DNS lookup of a hostname token written in hosts allow / hosts deny and compares the result against the connecting IP. When that lookup FAILED it returned "no match" -- indistinguishable from a genuine non-match -- so allow_access() fell through and ADMITTED the connection. A daemon configured hosts deny = therefore silently accepted the very host it was configured to block.

No attacker DNS control is required. Two ordinary situations produce it:

  • a transient resolver failure, and
  • a daemon chroot whose tree lacks resolver configuration. Note this is the GLOBAL daemon chroot, entered before module selection, not a per-module use chroot: module access checking runs before the per-module chroot, so a resolver-less module chroot does not trigger this. rsyncd.conf(5) does warn that a daemon chroot may need OS and library files present; an administrator who does not supply resolver configuration silently loses the deny rule.
From RsyncProject/rsync's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
rsyncServers and applications · cpe:a:samba:rsync
  • From 3.1.0 before 3.5.0
rsyncServers and applications · github:rsyncproject/rsync
  • From 3.1.0 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-70452
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-70452
  • GitHub Advisory Database https://github.com/advisories/GHSA-6692-28cx-wpqq
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-6692-28cx-wpqq