Addressable display_uri shows misleading hosts for invalid Punycode A-labels
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Addressable from 2.0.0 before 2.9.1 decodes invalid Punycode A-labels in its pure-Ruby IDNA to_unicode method instead of returning them unchanged. Labels that decode to ASCII text can make display_uri show a trusted-looking host while the host and connection target keep the encoded host, which is an insufficient visual distinction of homoglyphs (CWE-1007). A remote attacker with no privileges can exploit this if a user opens a crafted URI, with low impact on integrity.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sporkmonger | addressable | 2.0.0 to before 2.9.1 | 2.9.1 | Patch available | CNA |
| — | addressable (RubyGems) | 2.0.0 to before 2.9.1 | 2.9.1 | Patch available | GHSA-9crm-g4mf-wc5j |
- addressable Vendorsporkmonger Affected 2.0.0 to before 2.9.1 Fixed in 2.9.1 Patch available CNA
- addressable (RubyGems) Vendor— Affected 2.0.0 to before 2.9.1 Fixed in 2.9.1 Patch available GHSA-9crm-g4mf-wc5j
Remediation
Upgrade the addressable gem (RubyGems, sporkmonger addressable) to version 2.9.1, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA addressable (sporkmonger) Fixed in 2.9.1
- Fix · GHSA-9crm-g4mf-wc5j addressable (RubyGems) Fixed in 2.9.1 Advisory →
Timeline
- 2026-11-12 Threatist record created from CVE-2026-126348
- 2026-11-12 Alias added: GHSA-9crm-g4mf-wc5j
- 2026-11-12 Fix available: RubyGems/[email protected] · GHSA-9crm-g4mf-wc5j
- 2026-11-12 CVSS score added · GHSA-9crm-g4mf-wc5j
- 2026-11-12 Weakness changed · GHSA-9crm-g4mf-wc5j
- 2026-11-12 5 new references · GHSA-9crm-g4mf-wc5j
- 2026-11-13 CISA SSVC decision points changed
References
Other 5
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j
- https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d
- https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-9crm-g4mf-wc5j.yml
- https://github.com/sporkmonger/addressable
More sporkmonger vulnerabilities
- TI-2026-91041 Regular expression denial of service in Addressable URI templates CVSS 3.1MEDIUM 5.9
- TI-2026-91040 Denial of service in Addressable URI path normalization CVSS 3.1MEDIUM 5.9
- TI-2026-91039 Addressable: Denial of Service in exploded template expressions CVSS 3.1MEDIUM 5.9
- TI-2026-91042 Regular expression denial of service in Addressable template matching CVSS 3.1MEDIUM 5.9
- TI-2026-91043 Addressable normalizes some dotted path segments to the wrong path CVSS 3.1MEDIUM 4.8
- TI-2026-91037 Misleading hostnames in Addressable display_uri from bidi characters CVSS 3.1LOW 3.1
Sources
- CVE-2026-126348 · CVE Program
- CVE-2026-126348 · NVD
- FIRST EPSS
- GHSA-9crm-g4mf-wc5j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences