Skip to main content
VulnerabilityPublished

CVE-2026-141532: Addressable URI#origin= takes the host from the userinfo

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141532· Low 3.7

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

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
RubyGemsaddressableAffected
  • >=2.4.0 <2.10.0
Fixed in
  • 2.10.0

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

Community reviews

Loading reviews…