Skip to main content
VulnerabilityPublished

CVE-2026-141538: Addressable URI userinfo setters store delimiters raw, so the serialized URI names a different host

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141538· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium : upgrade to 2.10.0 when convenient.

Data as of 2 Dec 2026, 00:18 UTC

CVSS 3.1 base score
4.8Medium
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.14.8
Patch
Available – fixed in 2.10.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/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.0.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 fix is available in Addressable version 2.10.0, which rejects invalid characters in userinfo by raising InvalidURIError. Applications should upgrade to version 2.10.0 or later. Until then, workarounds include serializing URIs with uri.normalize.to_s to encode delimiters, encoding userinfo values before assignment, and validating the host from the serialized URI string (Addressable::URI.parse(uri.to_s).host) rather than from the URI object's host property. These mitigations prevent host confusion caused by unencoded delimiters in userinfo.

Description

Addressable URI userinfo setters in versions >=2.0.0 and <2.10.0 store userinfo values without encoding or rejecting delimiters such as '/', '?', '#', '[', ']', or '\'. This causes the serialized URI string to name a different host than the URI object's host or origin properties, potentially leading to host confusion. The issue is fixed in version 2.10.0, where invalid characters in userinfo cause an error. The vulnerability has medium severity with a CVSS score of 4.8.

References

Community reviews

Loading reviews…