Skip to main content
CVE-2026-141538VulnerabilityPublished

Krane: Addressable URI userinfo setters store delimiters raw, so the serialized URI names a different host

Affects kraneSource 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 4 Dec 2026, 18:37 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
EPSS
0.3% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 4 Dec 2026.

What to do

Upgrade addressable to 2.10.0.

Affected software

ProductAffectedFixed in
Homebrewkranepkg:brew/kraneOther threatsAffected
  • >=3.7.4
Fixed in–
RubyGemsaddressablepkg:gem/addressableOther threatsAffected
  • 2.0.0 – 2.9.2
  • >=2.0.0 <2.10.0
42 affected builds
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 delimiter characters in userinfo components by raising `InvalidURIError`. Until upgrading, applications should use the workaround of serializing URIs with `uri.normalize.to_s` to ensure delimiters are percent-encoded, encode userinfo values before assignment, or validate the host by parsing the serialized URI string rather than relying on the URI object's `host` or `origin` properties.

Description

Addressable URI versions from 2.0.0 up to but excluding 2.10.0 improperly handle userinfo setters by storing delimiters such as '/', '?', '#', '[', ']', and '\' without encoding or rejecting them. This causes the serialized URI string to represent a different host than the URI object's host or origin properties indicate. An attacker controlling userinfo input can exploit this to cause an application to send requests, including sensitive headers or body content, to an attacker-chosen host. The vulnerability is fixed in Addressable 2.10.0, which raises errors for invalid characters in userinfo components.

References

Community reviews

Loading reviews…