CVE-2026-126348
Description
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.
Weakness
- CWE-20: Improper Input Validation
- CWE-1007: Insufficient Visual Distinction of Homoglyphs Presented to User
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-12Published by the CNA21:57 UTC
- 2026-11-12GitHub advisory published (GHSA-9crm-g4mf-wc5j)same day
- 2026-11-13CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-9crm-g4mf-wc5j, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems addressable | from 2.0.0 before 2.9.1 | 2.9.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| sporkmonger addressable |
References
- https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d
- https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-126348'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-126348'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-126348'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-126348'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).