CVE-2026-141530: Addressable Addressable Pure IDNA Implementation Skips Vulnerability
LOWCVE-2026-141530 is a LOW (CVSS 3.1) addressable pure idna implementation skips vulnerability (CWE-1007: Insufficient Visual Distinction of Homoglyphs Presented to User) affecting Addressable libraries in the RubyGems ecosystem. The issue involves addressable pure idna implementation skips the nameprep bidi rule, so hosts under different domains can display identically. Remediation is available by upgrading affected packages to version 2.10.0.
CVE-2026-141530 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-141530
To remediate this vulnerability, upgrade all affected Addressable dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade addressable to 2.10.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for addressable
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-141530, inspect your project dependencies for Addressable:
inspect dependencies for addressable
Analyze the terminal output to locate any version of Addressable in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.10.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1007: Insufficient Visual Distinction of Homoglyphs Presented to User, where 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. In Addressable, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-141530 Affected Addressable Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
addressable
|
RubyGems |
≥ 2.0.0
< 2.10.0
|
2.10.0
|
References
Frequently Asked Questions
What is CVE-2026-141530?
Which Addressable versions are affected?
What version fixes CVE-2026-141530?
Is addressable affected?
What is the CVSS score of CVE-2026-141530?
What CWE is associated with CVE-2026-141530?
How can I check RubyGems dependencies for CVE-2026-141530?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fccw-gx6q-mh6c",
"modified" : "2026-12-01T21:44:23Z",
"published" : "2026-12-01T21:44:23Z",
"aliases" : [ "CVE-2026-141530" ],
"summary" : "Addressable pure IDNA implementation skips the nameprep bidi rule, so hosts under different domains can display identically",
"details" : "### Impact\n\nNameprep, part of IDNA2003, requires a label with a right-to-left character to have no left-to-right characters, and to start and end with a right-to-left character (Section 6 of RFC 3491 and Section 6 of RFC 3454). Without the rule, two strings with the same characters in a different order can display identically. `Addressable::IDNA.to_unicode` in the pure-Ruby IDNA implementation, and so `Addressable::URI#display_uri`, doesn't apply the rule, so it decodes labels that break it. The native implementation, which uses libidn, applies the rule and isn't affected.\n\nWhen a label is next to a right-to-left label, the bidirectional algorithm can display its digits or letters on the other side of the dot between them. A label that breaks the rule lets an attacker choose which side they end up on, so a host under a domain the attacker controls can display identically to a host under a different domain. `xn--1-3mcxl0f.23.example`, under `23.example`, is displayed as `1شركة.23.example`, which in a left-to-right context renders the same as `شركة.123.example`, a host under `123.example`.\n\nThe practical risk is limited. The _target_ host has to have a right-to-left label with digits next to the dot on either side of it, such as `123` in `شركة.123.example`, and the attacker needs a domain whose name completes the target's, such as `23.example` for a host under `123.example`. A user has to trust the displayed host. The rule applies to each label separately, so even with it, two hosts made of valid labels can display identically, such as `اب.1.example` and `1.اب.example`.\n\n### Affected Versions\n\nThis vulnerability affects Addressable >= 2.0.0 when the pure-Ruby IDNA implementation is in use, which is when the `idn-ruby` gem isn't installed. It is fixed in 2.10.0, where the pure-Ruby `to_unicode` returns a label that breaks the rule unchanged, as libidn does.\n\n### Workarounds\n\n- Install libidn and the `idn-ruby` gem, so that Addressable uses the native IDNA implementation.\n- Don't make security decisions on `display_uri` or `to_unicode` output. Compare hosts using `normalized_host`.\n\n### Proof of Concept\n\n```ruby\nrequire \"addressable/uri\"\n\n%w(\n https://xn--ogbpi5d.123.example/\n https://xn--1-3mcxl0f.23.example/\n).each do |input|\n uri = Addressable::URI.parse(input)\n puts uri.display_uri.host\nend\n```\n\nWith the pure-Ruby implementation, affected versions print two hosts that render identically in a left-to-right context:\n\n```\nشركة.123.example\n1شركة.23.example\n```\n\nWith the native implementation, or in fixed versions, the second line is `xn--1-3mcxl0f.23.example`.\n\n### Credits\n\nFound by Bob Aman (@sporkmonger).\n\n### For more information\n\nIf there are any questions or comments about this advisory:\n* [Open an issue](https://github.com/sporkmonger/addressable/issues)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "addressable"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.10.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.9.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sporkmonger/addressable/security/advisories/GHSA-fccw-gx6q-mh6c"
}, {
"type" : "WEB",
"url" : "https://github.com/sporkmonger/addressable/commit/f44193750649a2e05f3971b46b19e9a3f19d35d7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sporkmonger/addressable"
}, {
"type" : "WEB",
"url" : "https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1007", "CWE-451" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-01T21:44:23Z",
"nvd_published_at" : null
}
}