nday
CVE-2026-126348 GHSA-9crm-g4mf-wc5j

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

sporkmonger / addressable

Patched on the day of disclosure. Patched: fixed in addressable 2.9.1. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

UI spoofing / clickjacking
CWE-1007, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-9crm-g4mf-wc5j
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
RubyGems
GHSA-9crm-g4mf-wc5j: rubygems packages addressable
stage
PAT
disclosed
disclosure → patch
T+0d
cvss
4.3 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-12T21:57Z
PATpatch
11-12T23:03Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 4.3, medium.

src cvelist · nday , observed live · raw
{
  "id": 66640,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-126348",
  "occurred_at": "2026-11-12T21:57:55.237Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
      "version": "3.1",
      "base_score": 4.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-13T00:34:06.519332Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-12T21:57:55.237Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version addressable 2.9.1. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-9crm-g4mf-wc5j · nday , observed live · raw
{
  "id": 66675,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-9crm-g4mf-wc5j",
  "occurred_at": null,
  "observed_at": "2026-11-12T23:03:52.547886Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-9crm-g4mf-wc5j",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 4.3,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Input Validation",
        "cwe_id": "CWE-20"
      },
      {
        "name": "Insufficient Visual Distinction of Homoglyphs Presented to User",
        "cwe_id": "CWE-1007"
      }
    ],
    "ghsa_id": "GHSA-9crm-g4mf-wc5j",
    "packages": [
      {
        "name": "addressable",
        "ecosystem": "rubygems",
        "first_patched_version": "2.9.1",
        "vulnerable_version_range": ">= 2.0.0, < 2.9.1"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j",
      "https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d",
      "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-9crm-g4mf-wc5j.yml",
      "https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1",
      "https://github.com/advisories/GHSA-9crm-g4mf-wc5j"
    ],
    "fix_commit_urls": [
      "https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d"
    ],
    "github_reviewed_at": "2026-11-12T22:44:57Z",
    "advisory_updated_at": "2026-11-12T22:44:58Z",
    "source_code_location": "https://github.com/sporkmonger/addressable",
    "advisory_published_at": "2026-11-12T22:44:57Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.