Skip to main content

Addressable CVE-2026-126349

| EUVDEUVD-2026-124729 LOW
Improper Handling of Unicode Encoding (CWE-176)
2026-11-12 security-advisories@github.com GHSA-539f-xcgw-2gjg
3.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft xn-- label with bidi/invisible chars
  2. Delivery
    Deliver malicious URL to target application
  3. Exploit
    App calls display_uri and decodes label
  4. Execution
    Spoofed hostname rendered to user
  5. Impact
    Victim 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

addressable 2.0.0, < 2.9.1

Affected Packages

rubygems addressable fix: 2.9.1

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

Vendor (github) PRIMARY 3.1 LOW
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

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

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 23:03 EUVD
CVE Published
Nov 12, 2026 - 22:19 cve.org
LOW 3.1

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
widely-used Ruby URI library, transitive dependency of many popular gems
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy