CVE-2026-80213 - Hostname validation bypass
Published: August 27, 2026
SECURITY IDENTIFIERS
- CVE: CVE-2026-80213 (NVD)
GEM
PATCHED VERSIONS
~> 0.3.2
>= 0.7.2
DESCRIPTION
An application that checks a hostname against an allow list or an SSRF filter and then resolves it can be made to look up a domain other than the one it checked. The string that passes validation and the name that reaches the network are not the same, so the connection can end up at a host the application never approved. This requires a hostname that exceeds the DNS length limits, so validation that rejects names longer than 255 octets, or labels longer than 63 octets, is not affected.
Credits
Thanks to dalifit for discovering these issues.
RELATED
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-80213
- https://rubygems.org/gems/resolv/versions/0.7.2
- https://github.com/ruby/resolv/releases/tag/v0.7.2
- https://rubygems.org/gems/resolv/versions/0.3.2
- https://github.com/ruby/resolv/releases/tag/v0.3.2
- https://www.ruby-lang.org/en/security
- https://www.ruby-lang.org/en/news/2026/08/27/multiple-vulnerabilities-in-resolv
