{"id":"CVE-2026-126348","published":"2026-11-12T21:57:55Z","modified":"2026-11-13T00:34:23Z","title":"Addressable display_uri can show misleading hosts with invalid Punycode A-labels","vendor":"sporkmonger","product":"addressable","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00274,"percentile":0.20269,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-1007","name":"Insufficient Visual Distinction of Homoglyphs Presented to User"}],"references":[{"url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d","tags":["x_refsource_MISC"]},{"url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1","tags":["x_refsource_MISC"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":4.05},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"sporkmonger","affectedVersions":[{"vendor":"sporkmonger","product":"addressable","versions":[">= 2.0.0, < 2.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T00:34:06.519332Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"addressable","vulnerableRanges":[">=2.0.0, <2.9.1"],"patched":["2.9.1"],"from":["GHSA-9crm-g4mf-wc5j"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-124728","exploited":false,"provenance":"source"}}