CVE-2026-126348

GHSA-9crm-g4mf-wc5j · published 12 Nov 2026 · updated 17 Nov 2026

Addressable display_uri can show misleading hosts with invalid Punycode A-labels

4.3MediumCVSS 4.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in addressable 2.9.1.

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, the pure-Ruby Addressable::IDNA.to_unicode implementation decodes invalid Punycode A-labels instead of returning them unchanged. Labels that decode to ASCII text or fail to convert back to the same A-label can therefore make Addressable::URI#display_uri show a trusted-looking host while host, normalized_host, and the connection target retain the attacker-controlled encoded host. A trusted-name comparison using Addressable::IDNA.to_unicode output can also treat two different hosts as the same without displaying the URI. The native libidn implementation, to_ascii, and normalized_host are unaffected. This issue is fixed in version 2.9.1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
sporkmonger>=2.0.0 <2.9.1
rubygems: addressable>=2.0.0 <2.9.12.9.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in addressable (RubyGems), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126348 severity on Zeptric[![CVE-2026-126348](https://zeptric.io/badge/cve/CVE-2026-126348.svg)](https://zeptric.io/cve/CVE-2026-126348)