# CVE-2026-126348: Addressable display_uri can show misleading hosts with invalid Punycode A-labels

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-12T21:57:55.237Z
- Modified: 2026-11-13T16:08:55.993Z
- Also known as: GHSA-9crm-g4mf-wc5j
- Weaknesses: CWE-20, CWE-1007
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sporkmonger addressable: >= 2.0.0, < 2.9.1
- addressable (RubyGems): from 2.0.0 before 2.9.1

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j> (web)
- <https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d> (web)
- <https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-9crm-g4mf-wc5j.yml> (web)
- <https://github.com/sporkmonger/addressable> (package)

## Sources

- CVE List: [CVE-2026-126348](https://www.cve.org/CVERecord?id=CVE-2026-126348), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-9crm-g4mf-wc5j](https://github.com/advisories/GHSA-9crm-g4mf-wc5j), CC-BY-4.0, modified 2026-11-12
- NVD: [CVE-2026-126348](https://nvd.nist.gov/vuln/detail/CVE-2026-126348), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126348 · Whole record: https://cve.day/CVE-2026-126348.json · Rebuilt by cve.day 2026-11-25T22:59:50.570Z
