CVE-2026-126348
published medium CVSS 3.1 · 4.3Addressable display_uri can show misleading hosts with invalid Punycode A-labels
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sporkmonger | — | addressable>= 2.0.0, < 2.9.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | ruby-addressable | Fixed | 2.9.2-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sporkmonger | addressable | >= 2.0.0, < 2.9.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-1007 CWE-1007: Insufficient Visual Distinction of Homoglyphs Presented to User
References
3Provider assertions
2GitHub_M · cna
Addressable display_uri can show misleading hosts with invalid Punycode A-labels
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 242b14def40bca3c7726de5869a08a80b69faa51c38234df911e16fa2d31baea
- Ingested
- 13 Nov 2026, 00:52:53 UTC
- Source record
- Official CVE record