cve.bz

CVE-2026-126348

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

4.3 medium

Medium (4.3) in sporkmonger addressable.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CWEs
CWE-20 Improper Input Validation
CWE-1007 Insufficient Visual Distinction of Homoglyphs Presented to User
OWASP Top 10
A05:2025 Injection
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126348 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126348?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126348?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126348 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126348

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126348](https://cve.bz/cve/badge/CVE-2026-126348.svg)](https://cve.bz/cve/CVE-2026-126348)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126348"><img src="https://cve.bz/cve/badge/CVE-2026-126348.svg" alt="CVE-2026-126348"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
sporkmonger addressable>= 2.0.0, < 2.9.1

Attack patterns (CAPEC)

  • CAPEC-632 Homograph Attack via Homoglyphs Likelihood: Low · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON