CVE-2026-141532: Addressable URI#origin= takes the host from the userinfo
Affects addressableSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 2.10.0 when convenient.
Data as of 2 Dec 2026, 03:00 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.7 |
|---|
- Patch
- Available – fixed in 2.10.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade addressable to 2.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsaddressable | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Addressable version 2.10.0 that fixes the vulnerability. Users should upgrade to version 2.10.0 or later. As a workaround, do not pass untrusted values directly to origin=. Instead, parse untrusted URIs using Addressable::URI.parse or Addressable::URI.heuristic_parse and assign the scheme, host, and port individually. Additionally, reject origins containing an '@' character to avoid userinfo-related issues.
Description
Addressable::URI#origin= in Addressable versions 2.4.0 through 2.9.2 incorrectly extracts the host from the userinfo portion of a URI when the assigned origin contains userinfo with a colon, leading to a mismatch between validation and usage of the host. This can cause applications that validate with Addressable::URI.parse but assign with origin= (or vice versa) to check one host but use another. The issue also caused truncation of IPv6 hosts and dropped ports when a path followed, though these are not expected to have security impact. The vulnerability is fixed in version 2.10.0. Applications that do not pass untrusted values to origin= are not affected.
References
- github.com/sporkmonger/addressable/security/advisories/GHSA-cwmp-x65r-27fv (opens in a new tab)
- github.com/sporkmonger/addressable/commit/56454dd45398d23402243e85ec860d8a6caedbd1 (opens in a new tab)
- github.com/sporkmonger/addressable (opens in a new tab)
- github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0 (opens in a new tab)