CVE-2026-126348Addressable display_uri can show misleading hosts with invalid Punycode A-labels
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Ubuntu 26.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Ubuntu 24.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Ubuntu 22.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Ubuntu 20.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Ubuntu 18.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Ubuntu 16.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126348 | |
| Debian 14 | ruby-addressable | Fixed | 2.9.2-1 | DEBIAN-CVE-2026-126348 |
| Debian 13 | ruby-addressable | Fix pending | DEBIAN-CVE-2026-126348 | |
| Debian 12 | ruby-addressable | Fix pending | DEBIAN-CVE-2026-126348 | |
| Red Hat Enterprise Linux 10 | ruby | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-bundled-gems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-default-gems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-bigdecimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-io-console | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-irb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-minitest | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-power_assert | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-psych | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-racc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rake | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rbs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rdoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rexml | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-test-unit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-typeprof | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygems-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-default-gems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-bigdecimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-io-console | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-irb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-minitest | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-power_assert | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-psych | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rake | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rbs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rdoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rexml | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-test-unit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-typeprof | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygems-devel | Fix pending Fix deferred | ||
| RubyGems library | addressable | Fixed | 2.9.1 | GHSA-9crm-g4mf-wc5j |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sporkmonger addressable: affected: >= 2.0.0, < 2.9.1
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.