Every CVESearch/Get API key

CVE-2026-126348

Addressable display_uri can show misleading hosts with invalid Punycode A-labels

4.3 MediumFix available

CVE-2026-126348 is a medium vulnerability (CVSS 4.3) in Sporkmonger Addressable, published November 12, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 20th percentile. Fixed in addressable 2.9.1.

What does this mean?
Severity
4.3 MediumCVSS 3.1, CVE List
Exploit chance
0.27%EPSS, 20th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

0.27%Unchanged since Nov 13, 2026
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
addressable
RubyGems
2.0.0 up to 2.9.1
2.9.1
rubygem-addressable
Azure Linux:3
through 2.9.0-1None known
gitlab-rails-18
Docker Hardened Images:Alpine:3.24
Listed versions
18.11.11-r018.11.11-r118.11.11-r218.11.12-r018.11.12-r1
Show 15 moreShow less
18.11.12-r218.11.12-r318.11.12-r418.11.14-r018.11.14-r118.11.14-r1018.11.14-r1118.11.14-r218.11.14-r318.11.14-r418.11.14-r518.11.14-r618.11.14-r718.11.14-r818.11.14-r9
None known
gitlab-rails-19
Docker Hardened Images:Alpine:3.24
Listed versions
19.1.8-r019.1.8-r119.4.1-r019.4.1-r119.4.1-r2
Show 16 moreShow less
19.4.1-r319.4.2-r019.5.3-r019.5.3-r119.5.3-r219.5.3-r319.5.3-r419.5.3-r519.5.3-r619.5.3-r719.5.3-r819.5.4-r019.5.4-r119.5.5-r019.5.5-r119.5.5-r2
None known
ruby-3.3
Docker Hardened Images:Alpine:3.23
Listed versions
3.3.10-r03.3.10-r13.3.11-r13.3.11-r23.3.11-r33.3.12-r33.3.13-r3
None known
ruby-3.3
Docker Hardened Images:Alpine:3.24
Listed versions
3.3.11-r33.3.12-r33.3.13-r3
None known
fluentd-kubernetes-daemonset-azureblob-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-azureblob-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-azureblob
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-cloudwatch-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
Show 61 moreShow less
Affected packages
PackageAffectedFixed
fluentd-kubernetes-daemonset-cloudwatch-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-cloudwatch
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-datadog-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-datadog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-datadog
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-elasticsearch7-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-elasticsearch7-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-elasticsearch7
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-elasticsearch8-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-elasticsearch8-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-elasticsearch8
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-forward-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-forward-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-forward
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-gcs-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-gcs-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-gcs
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-graylog-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-graylog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-graylog
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-kafka-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kafka-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kafka2-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kafka2-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kafka2
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-kafka
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-kinesis-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kinesis-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kinesis
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-logentries-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-logentries-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-logentries
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-loggly-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-loggly-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-loggly
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-logzio-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-logzio-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-logzio
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-opensearch-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-opensearch-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-opensearch
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-papertrail-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-papertrail-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-papertrail
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-s3-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-s3-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-s3
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-syslog-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-syslog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-syslog
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
gitlab-rails-18
Docker Hardened Images:Debian:13
Listed versions
18.11.11-018.11.11-118.11.11-218.11.12-018.11.12-1
Show 18 moreShow less
18.11.12-218.11.14-018.11.14-118.11.14-1018.11.14-1118.11.14-1218.11.14-1318.11.14-1418.11.14-1518.11.14-1618.11.14-218.11.14-318.11.14-418.11.14-518.11.14-618.11.14-718.11.14-818.11.14-9
None known
gitlab-rails-19
Docker Hardened Images:Debian:13
Listed versions
19.1.8-019.1.8-119.4.1-019.4.1-119.4.1-2
Show 20 moreShow less
19.4.2-019.5.3-019.5.3-119.5.3-219.5.3-319.5.3-419.5.3-519.5.3-619.5.3-719.5.3-819.5.3-919.5.4-019.5.4-119.5.5-019.5.5-119.5.5-219.5.5-319.5.5-419.5.5-519.5.5-6
None known
ruby-3.3
Docker Hardened Images:Debian:13
Listed versions
3.3.11-03.3.11-13.3.11-23.3.11-33.3.11-4
Show 45 moreShow less
3.3.11-53.3.11-63.3.12-03.3.12-13.3.12-103.3.12-113.3.12-123.3.12-133.3.12-143.3.12-153.3.12-163.3.12-173.3.12-183.3.12-193.3.12-23.3.12-203.3.12-213.3.12-223.3.12-233.3.12-243.3.12-253.3.12-263.3.12-273.3.12-283.3.12-293.3.12-33.3.12-303.3.12-313.3.12-323.3.12-333.3.12-343.3.12-353.3.12-363.3.12-373.3.12-383.3.12-393.3.12-43.3.12-403.3.12-413.3.12-423.3.12-433.3.12-443.3.12-453.3.12-463.3.12-47
None known
addressable
RubyGems
2.0.0 up to 2.9.1, plus listed versions
2.0.12.0.22.1.02.1.12.1.2
Show 34 moreShow less
2.2.02.2.12.2.22.2.32.2.42.2.52.2.62.2.72.2.82.3.22.3.32.3.42.3.52.3.62.3.72.3.82.4.02.5.02.5.12.5.22.6.02.7.02.8.02.8.12.8.102.8.22.8.32.8.42.8.52.8.62.8.72.8.82.8.92.9.0
2.9.1
ruby-addressable
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.3.8-12.3.8-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
2.5.1-22.5.2-12.5.2-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
2.5.2-12.7.0-12.7.0-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
2.7.0-22.8.0-32.8.0-3ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2.8.1-12.8.5-12.8.5-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:26.10
All versions, plus listed versions
2.8.7-22.9.0-1
None known
ruby-addressable
Ubuntu:Pro:26.04:LTS
All versions, plus listed versions
2.8.7-22.8.7-2ubuntu0.26.04.1~esm1
None known

What each source reports

CVE List Score used4.3

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

Record
CVE-2026-126348
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-20, CWE-1007
Updated
2026-11-12
EUVDEUVD-2026-1247284.3

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.

Record
EUVD-2026-124728
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-13
GitHub AdvisoriesGHSA-9crm-g4mf-wc5j4.3

Addressable display_uri can show misleading hosts with invalid Punycode A-labels

Impact

Addressable::IDNA.to_unicode, in the pure-Ruby IDNA implementation, decodes Punycode labels (labels beginning with xn--) that are not valid A-labels. Those labels are returned in decoded form, when they should be returned unchanged. That includes:

  • labels that decode to only ASCII characters, e.g. xn--google- decodes to google;
  • labels that decode to text that doesn't convert back to the same label (RFC 3490 §4.2), e.g. text that isn't in normalized form.

Addressable::URI#display_uri uses to_unicode, so for https://xn--google-.example.org/ it displays the host google.example.org, while #host, #normalized_host and any connection made from the URI use xn--google-.example.org. An attacker who controls a domain can therefore have a URI displayed as a host they don't control. Applications that compare the result of to_unicode against a list of trusted names can likewise treat two different hosts as the same.

The native IDNA implementation, used when libidn and the idn-ruby gem are installed, is not affected. to_ascii and normalized_host are not affected.

Affected Versions

This vulnerability affects Addressable >= 2.0.0, the first version with the pure-Ruby IDNA implementation, when that implementation is in use. It is fixed in 2.9.1, where such labels are returned unchanged, as with libidn.

Workarounds

  • Install libidn and the idn-ruby gem, so that Addressable uses the native IDNA implementation.
  • Don't make security decisions on display_uri or to_unicode output. Compare hosts using normalized_host.

Credits

Reported by @tonghuaroot.

For more information

If there are any questions or comments about this advisory:

Record
GHSA-9crm-g4mf-wc5j
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-20, CWE-1007
Updated
2026-11-12
NVD4.3

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.

Record
CVE-2026-126348
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-20, CWE-1007
Updated
2026-11-12
OSV4.3

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

Record
CVE-2026-126348
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-1007, CWE-20
Updated
2026-11-14
OSVDHI-kylm-cdr4-zmz2-s3y54.3

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From…

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.

Record
DHI-kylm-cdr4-zmz2-s3y5
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-16
OSVGHSA-9crm-g4mf-wc5j4.3

Addressable display_uri can show misleading hosts with invalid Punycode A-labels

Impact

Addressable::IDNA.to_unicode, in the pure-Ruby IDNA implementation, decodes Punycode labels (labels beginning with xn--) that are not valid A-labels. Those labels are returned in decoded form, when they should be returned unchanged. That includes:

  • labels that decode to only ASCII characters, e.g. xn--google- decodes to google;
  • labels that decode to text that doesn't convert back to the same label (RFC 3490 §4.2), e.g. text that isn't in normalized form.

Addressable::URI#display_uri uses to_unicode, so for https://xn--google-.example.org/ it displays the host google.example.org, while #host, #normalized_host and any connection made from the URI use xn--google-.example.org. An attacker who controls a domain can therefore have a URI displayed as a host they don't control. Applications that compare the result of to_unicode against a list of trusted names can likewise treat two different hosts as the same.

The native IDNA implementation, used when libidn and the idn-ruby gem are installed, is not affected. to_ascii and normalized_host are not affected.

Affected Versions

This vulnerability affects Addressable >= 2.0.0, the first version with the pure-Ruby IDNA implementation, when that implementation is in use. It is fixed in 2.9.1, where such labels are returned unchanged, as with libidn.

Workarounds

  • Install libidn and the idn-ruby gem, so that Addressable uses the native IDNA implementation.
  • Don't make security decisions on display_uri or to_unicode output. Compare hosts using normalized_host.

Credits

Reported by @tonghuaroot.

For more information

If there are any questions or comments about this advisory:

Record
GHSA-9crm-g4mf-wc5j
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-1007, CWE-20
Updated
2026-11-12
OSVUBUNTU-CVE-2026-1263484.3

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.

Record
UBUNTU-CVE-2026-126348
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-13
OSVAZL-114058No score

CVE-2026-126348 affecting package rubygem-addressable 2.9.0-1

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.

Record
AZL-114058
Updated
2026-11-15

History

History
RecordedChangedSources
affected, aliases, referencesOSV
affected, aliases, referencesOSV
affected, aliases, referencesOSV
referencesOSV
publishedEUVD
publishedEUVD
aliases, publishedEUVD, NVD
affected, referencesOSV
affected, aliases, facts, referencesGitHub Advisories
first indexedCVE List

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 6 moreShow less
This page doesn't list everything

Left out here: 29 versions. The JSON record has them.

MoveEnter Open