CVE-2026-141531: Addressable Addressable Display_uri Shows A Deceptive Vulnerability
LOWCVE-2026-141531 is a LOW (CVSS 3.1) addressable display_uri shows a deceptive vulnerability (CWE-1007: Insufficient Visual Distinction of Homoglyphs Presented to User) affecting Addressable libraries in the RubyGems ecosystem. The issue involves addressable display_uri shows a deceptive label boundary for a host label that decodes to u+3002. Remediation is available by upgrading affected packages to version 2.10.0.
CVE-2026-141531 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-141531
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-141531, 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-141531 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-141531?
Which Addressable versions are affected?
What version fixes CVE-2026-141531?
Is addressable affected?
What is the CVSS score of CVE-2026-141531?
What CWE is associated with CVE-2026-141531?
How can I check RubyGems dependencies for CVE-2026-141531?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x378-rg7m-2c49",
"modified" : "2026-12-01T23:49:19Z",
"published" : "2026-12-01T23:49:19Z",
"aliases" : [ "CVE-2026-141531" ],
"summary" : "Addressable display_uri shows a deceptive label boundary for a host label that decodes to U+3002",
"details" : "### Impact\n\nIDNA2003 requires U+3002 IDEOGRAPHIC FULL STOP, U+FF0E FULLWIDTH FULL STOP and U+FF61 HALFWIDTH IDEOGRAPHIC FULL STOP to be recognized as dots, and treats two domain names as the same whichever of these separators they use (Section 3.1 of RFC 3490). `Addressable::IDNA.to_unicode`, and so `Addressable::URI#display_uri`, decodes an A-label whose Unicode form contains U+3002, with both the pure-Ruby and the native IDNA implementations. `xn--victimexample-882l.attacker.example` is incorrectly displayed as `victim。example.attacker.example`. It should instead be rendered as itself.\n\nWith the native implementation, `Addressable::URI.parse(uri.display_uri.to_s).normalized_host` gives `victim.example.attacker.example`. An application that stores or passes on this `display_uri` output and later parses it again, or compares it with other domain names, gets a different host. A user reading the displayed host sees a label boundary that isn't in the real host.\n\nHowever, exploitability is limited. The labels to the right of the decoded label, including the registrable domain, are displayed unchanged, so this can't make a host the attacker doesn't control appear as the URI's host. Within a domain the attacker controls, the displayed host looks like a subdomain the attacker could create anyway. The host moves to a different registrable domain only when the decoded label is itself the registrable domain, which needs a registry to accept a label with U+3002. Exploitation also needs an application that relies on the displayed form, so attack complexity is high.\n\n### Affected Versions\n\nThis vulnerability affects Addressable >= 2.0.0. It is fixed in 2.10.0, where `to_unicode` returns a label unchanged when it decodes to any of the label separators U+3002, U+FF0E or U+FF61, with either implementation. The pure-Ruby `to_ascii` also treats U+3002 and U+FF61 as label separators in 2.10.0, as RFC 3490 requires and libidn does.\n\n### Workarounds\n\n- Don't store, parse again or compare `display_uri` or `to_unicode` output. Keep the URI, and compare hosts using `normalized_host`.\n- Before showing `display_uri.host`, check it for U+3002, U+FF0E or U+FF61, and show `normalized_host` instead if it has one.\n\n### Proof of Concept\n\n```ruby\nrequire \"addressable/uri\"\n\nuri = Addressable::URI.parse(\"https://xn--victimexample-882l.attacker.example/\")\nputs uri.display_uri.host\nputs Addressable::URI.parse(uri.display_uri.to_s).normalized_host\n```\n\nWith the native implementation, affected versions print:\n\n```\nvictim。example.attacker.example\nvictim.example.attacker.example\n```\n\nWith the pure-Ruby implementation, the second line is `xn--victimexample-882l.attacker.example`. Fixed versions print `xn--victimexample-882l.attacker.example` on both lines, with either implementation.\n\n### Credits\n\nReported by @andrewstellman.\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-x378-rg7m-2c49"
}, {
"type" : "WEB",
"url" : "https://github.com/sporkmonger/addressable/commit/7212588b28b9fea6811dd456abc1da214cca6b6b"
}, {
"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-01T23:49:19Z",
"nvd_published_at" : null
}
}