CVE-2026-126348
CVE-2026-126348 · Addressable display_uri can show misleading hosts with invalid Punycode A-labels
CVSS 4.3 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- addressableNo fix published
- addressable RubyGemsUpdate to 2.9.1
- ruby-addressable Ubuntu Pro 16.04 LTSNo fix published
- ruby-addressable Ubuntu Pro 18.04 LTSNo fix published
- and 5 more
Check the installed version:
gem list --exact addressabledpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-addressable"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
addressable
- Versions
- >= 2.0.0, < 2.9.1: Affected
No fix published
addressable RubyGems
- Versions
- 2.0.0
- 2.0.1
- 2.0.2
- 2.1.0
- 2.1.1
- 2.1.2
All versions (40)
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.5
- 2.3.6
- 2.3.7
- 2.3.8
- 2.4.0
- 2.5.0
- 2.5.1
- 2.5.2
- 2.6.0
- 2.7.0
- 2.8.0
- 2.8.1
- 2.8.10
- 2.8.2
- 2.8.3
- 2.8.4
- 2.8.5
- 2.8.6
- 2.8.7
- 2.8.8
- 2.8.9
- 2.9.0
- Affected ranges
- ECOSYSTEM: ≥ 2.0.0, < 2.9.1
Update to 2.9.1
ruby-addressable Ubuntu Pro 16.04 LTS
- Versions
- 2.3.8-1
- 2.3.8-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-addressable Ubuntu Pro 18.04 LTS
- Versions
- 2.5.1-2
- 2.5.2-1
- 2.5.2-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-addressable Ubuntu Pro 20.04 LTS
- Versions
- 2.5.2-1
- 2.7.0-1
- 2.7.0-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-addressable Ubuntu Pro 22.04 LTS
- Versions
- 2.7.0-2
- 2.8.0-3
- 2.8.0-3ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-addressable Ubuntu Pro 24.04 LTS
- Versions
- 2.8.1-1
- 2.8.5-1
- 2.8.5-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-addressable Ubuntu 26.10
- Versions
- 2.8.7-2
- 2.9.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-addressable Ubuntu Pro 26.04 LTS
- Versions
- 2.8.7-2
- 2.8.7-2ubuntu0.26.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published