CVE-2026-126348
Received Received - Intake

Addressable Ruby IDNA Punycode Decoding Flaw

Vulnerability report for CVE-2026-126348, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-12

Last updated on: 2026-11-12

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-12
Last Modified
2026-11-12
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1007 The product displays information or identifiers to a user, but the display mechanism does not make it easy for the user to distinguish between visually similar or identical glyphs (homoglyphs), which may cause the user to misinterpret a glyph and perform an unintended, insecure action.
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Addressable gem in Ruby versions 2.0.0 to 2.9.1. It involves the Addressable::IDNA.to_unicode function incorrectly decoding invalid Punycode A-labels instead of leaving them unchanged. This can cause a trusted-looking host to be displayed while the actual connection target remains the attacker-controlled encoded host.

Detection Guidance

Check if your system uses Addressable gem version 2.0.0 to 2.9.0. Run: gem list addressable. If installed, verify if the version is within the vulnerable range.

Impact Analysis

An attacker could exploit this to trick users into trusting a malicious host that appears legitimate. This could lead to phishing attacks, unauthorized data access, or other security breaches if the user interacts with the fake host.

Mitigation Strategies

Upgrade Addressable gem to version 2.9.1 or later. Run: gem install addressable -v 2.9.1. Review applications using Addressable for potential host comparison issues.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126348. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...