Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft xn-- label with bidi/invisible chars
-
DeliveryDeliver malicious URL to target application
-
ExploitApp calls display_uri and decodes label
-
ExecutionSpoofed hostname rendered to user
-
ImpactVictim trusts disguised malicious domain
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Unicode normalization
|
| Exploitation Conditions | Exploitation requires that the consuming application actually calls Addressable::URI#display_uri (or IDNA.to_unicode) and shows its output to users - the advisory names link previews, chat clients, email clients, and admin interfaces as at-risk surfaces; code paths using host, normalized_host, or making connections are unaffected. The attacker must craft a Punycode (xn--) hostname containing display-changing but invisible characters (bidi controls such as U+202E/U+2066-U+2069, zero-width characters, control characters, or other default-ignorable format characters), and a victim must view the rendered hostname (UI:R). Limiting factors: the pure-Ruby backend (>= 2.0.0) accepts the full nameprep-prohibited set, but deployments with libidn and the idn-ruby gem installed use the native backend (affected only from 2.5.2 and only for characters added after Unicode 3.2, e.g. U+061C, U+2066-U+2069), which the advisory lists as a partial workaround; there is no impact if display_uri output is never surfaced to users, and defenders can fall back to normalized_host when /[\p{Cc}\p{Cf}\p{Default_Ignorable_Code_Point}]/ is detected. The complete fix is upgrading to 2.9.1. |
| Impact | This is a genuinely low-severity, low-priority issue, and the multiple signals agree rather than conflict. The CVSS 3.1 base score is 3.1 (LOW) with vector AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N - network-reachable and unauthenticated, but requiring victim interaction and yielding only a limited integrity impact (C:N, A:N). The impact is purely cosmetic: Addressable::URI#display_uri can render a hostname that is visually reordered (via bidi controls like U+202E) or indistinguishable from a trusted domain, while host, normalized_host, and all actual network connections continue to use the real encoded hostname - so there is no code execution, data disclosure, or connection hijack, only user-facing deception (CWE-451/CWE-1007 homoglyph/UI-misrepresentation, reflected in the GHSA even though the NVD CWE is CWE-176). The vuln.today Decision label is 'monitor,' consistent with the low score. EPSS is not provided in the input, KEV status is not listed (so not a confirmed CISA KEV entry), and no PoC or exploit reference appears - exploitation requires socially engineering a victim through an application that specifically displays display_uri to users. Net: a real but minor spoofing/anti-phishing hardening fix, not an emergency; its practical risk depends almost entirely on whether a downstream application shows display_uri output to end users. |
| Exploit ScenarioDerived | An attacker registers or controls a domain and crafts a Punycode (xn--) label embedding an invisible bidi override such as U+202E; for example http://xn--abcmoc-dm0c.com/ renders via display_uri as a string where text after 'abc' flows right-to-left, making a malicious host look like a trusted one. They distribute this URL into an application (link preview, chat/email client, or admin interface) that calls Addressable::URI#display_uri, so the victim sees a disguised, trustworthy-looking hostname and is lured into trusting or clicking it. No public exploit identified at time of analysis, though the fix commit's spec file publishes many ready-made spoofing labels. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Addressable's URI#display_uri can render a Punycode hostname misleadingly when the decoded label contains bidirectional controls, zero-width characters, control characters, or other default-ignorable format characters, making a crafted domain appear reordered or visually identical to a trusted host. Applications that show display_uri output to users-such as link previews, chat and email clients, and admin interfaces-are the affected surface, while host, normalized_host, and actual connections use the original encoded hostname and are not affected. The pure-Ruby IDNA backend is affected from 2.0.0 and the native libidn backend from 2.5.2 for characters added after Unicode 3.2; this low-severity issue is fixed in 2.9.1, and no public exploit was identified at time of analysis.
RemediationAI
Upgrade to Addressable 2.9.1, which returns labels containing display-changing characters unchanged and covers both the pure-Ruby and native IDNA backends. If upgrading immediately is not possible, install libidn and the idn-ruby gem so Addressable uses the native IDNA implementation, understanding that this only limits exposure to characters added after Unicode 3.2 and is not a complete fix; alternatively, detect /[\p{Cc}\p{Cf}\p{Default_Ignorable_Code_Point}]/ in hosts before display and fall back to normalized_host, at the cost of showing users the encoded hostname. See the vendor advisory and fixed release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in rubygems
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Addressable is a Ruby URI library with two IDNA backends: a pure-Ruby implementation and a native libidn-backed implementation via idn-ruby. The flaw is in IDNA.to_unicode, which decodes xn-- Punycode labels for display; the fix commit adds checks for nameprep-prohibited characters and for /[\p{Cc}\p{Cf}\p{Default_Ignorable_Code_Point}]/ so labels whose decoded form contains display-changing characters are returned unchanged. This maps to CWE-176 (Improper Handling of Unicode Encoding), with the advisory also citing CWE-451 and CWE-1007, reflecting a UI misrepresentation or spoofing risk rather than a parsing or connection-integrity flaw. The pure-Ruby backend accepted the full prohibited set, while the native libidn backend rejected most such characters but not those added after Unicode 3.2, such as U+061C and U+2066-U+2069.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Spoof is reliable once the label is crafted (AC:L), needs no auth (PR:N), requires the victim to view display_uri (UI:R), and only misrepresents displayed data (I:L; C:N/A:N).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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, Addressable::IDNA.to_unicode can decode Punycode labels that contain bidirectional controls, zero-width characters, control characters, or other default-ignorable format characters. Addressable::URI#display_uri can consequently show a reordered or visually indistinguishable hostname even though host, normalized_host, and network connections use the original encoded hostname. The pure-Ruby backend accepts the full prohibited set, while the native libidn backend is affected from 2.5.2 for characters added after Unicode 3.2. This issue is fixed in version 2.9.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-124729
GHSA-539f-xcgw-2gjg
NVD
CVE.org
EPSS
VulDB
Exploit-DB