Vulnerabilities in pkg:gem/addressable
PACKAGECVE-2026-141532 is a LOW (CVSS 3.7) addressable uri#origin= takes the host vulnerability (CWE-436: Interpretation Conflict) affecting Addressable libraries in the RubyGems ecosystem. The issue involves addressable uri#origin= takes the host from the userinfo. Remediation is available by upgrading affected packages to version 2.10.0.
pkg:gem/addressable
Vulnerability advisories affecting package pkg:gem/addressable. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cwmp-x65r-27fv | CVE-2026-141532 | LOW | Addressable URI#origin= takes the host from the userinfo |
| GHSA-qg8x-qm93-fw27 | CVE-2026-141536 | LOW | Addressable URI#request_uri returns control characters unencoded with possible HTTP request splitting |
| GHSA-c7j3-jq7p-v3pr | CVE-2026-141535 | LOW | Addressable URI#hostname strips brackets from hosts that aren't IP literals |
| GHSA-v6hg-69pc-4f3f | CVE-2026-141537 | LOW | Addressable URI normalization takes quadratic time on long runs of combining marks |
| GHSA-qrq6-rcpx-pmm6 | CVE-2026-141538 | MODERATE | Addressable URI userinfo setters store delimiters raw, so the serialized URI names a different host |
| GHSA-mrrj-5mhw-rcf2 | CVE-2026-141539 | MODERATE | Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing |
| GHSA-x378-rg7m-2c49 | CVE-2026-141531 | LOW | Addressable display_uri shows a deceptive label boundary for a host label that decodes to U+3002 |
| GHSA-h78h-gj97-g737 | CVE-2026-141529 | LOW | Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters or many adjacent expressions |
| GHSA-xj9m-f88p-5j38 | CVE-2026-141528 | MODERATE | Addressable: Regular Expression Denial of Service in templates with several variables |
| GHSA-xfg6-27c4-wr4r | CVE-2026-141526 | MODERATE | Addressable: Regular Expression Denial of Service in templates with exploded variables next to other variables |
| GHSA-grhv-8jgq-r74x | CVE-2026-141527 | MODERATE | Addressable: Regular Expression Denial of Service in templates with literal text between expressions |
| GHSA-jrfq-gw62-2f3j | CVE-2026-141525 | MODERATE | Addressable: Regular Expression Denial of Service in Addressable templates on MRI Ruby 3.2 and TruffleRuby |
| GHSA-q5vw-6v74-fg2g | CVE-2026-141524 | LOW | Addressable::Template#match and #extract take variable names from the URI, so a URI can add or reassign variables |
| GHSA-fccw-gx6q-mh6c | CVE-2026-141530 | LOW | Addressable pure IDNA implementation skips the nameprep bidi rule, so hosts under different domains can display identically |
| GHSA-h27x-rffw-24p4 | CVE-2026-35611 | HIGH | Addressable has a Regular Expression Denial of Service in Addressable templates |
| GHSA-jxhc-q857-3j6g | CVE-2021-32740 | HIGH | Regular Expression Denial of Service in Addressable templates |
CVE-2026-141532 at a Glance
Security Impact
CVSS: 3.7
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:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-141532
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-141532, 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-436: Interpretation Conflict, where product a handles inputs or steps differently than product b, which causes a to perform incorrect actions based on its perception of b's state. 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-141532 Affected Addressable Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
addressable
|
RubyGems |
≥ 2.4.0
< 2.10.0
|
2.10.0
|
References
Frequently Asked Questions
What is CVE-2026-141532?
Which Addressable versions are affected?
What version fixes CVE-2026-141532?
Is addressable affected?
What is the CVSS score of CVE-2026-141532?
What CWE is associated with CVE-2026-141532?
How can I check RubyGems dependencies for CVE-2026-141532?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cwmp-x65r-27fv",
"modified" : "2026-12-02T00:28:21Z",
"published" : "2026-12-02T00:28:21Z",
"aliases" : [ "CVE-2026-141532" ],
"summary" : "Addressable URI#origin= takes the host from the userinfo",
"details" : "### Impact\n\n`Addressable::URI#origin=` extracts the host from the assigned origin with a pattern that stops at the first `:`. When the assigned value contains userinfo with a colon, the host is taken from the userinfo instead of the authority. `Addressable::URI.parse` reads the same string correctly, so an application that validates with `parse` and assigns with `origin=` (or the reverse) checks one host and uses another. Applications that don't pass untrusted values to `origin=` are unaffected.\n\n`origin=` also truncated IPv6 hosts (`[::1]` became `[`) and dropped the port when a path followed. While this is not expected to have security impact, the same change fixes this bug as well.\n\n### Affected Versions\n\n`URI#origin=` was introduced in Addressable 2.4.0, and the vulnerability is present in all versions with this method up through 2.9.2. It is fixed in 2.10.0.\n\n### Workarounds\n\n- Don't pass untrusted values to `origin=`. Parse them with `Addressable::URI.parse` or `Addressable::URI.heuristic_parse` and assign `scheme`, `host` and `port` individually if needed.\n- Reject origins that contain an `@` character.\n\n### Credits\n\nReported by Praneeth (@praneeth-bala), UCSB SecLab.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "addressable"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.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-cwmp-x65r-27fv"
}, {
"type" : "WEB",
"url" : "https://github.com/sporkmonger/addressable/commit/56454dd45398d23402243e85ec860d8a6caedbd1"
}, {
"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-436" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-02T00:28:21Z",
"nvd_published_at" : null
}
}