CVE-2026-141535: Krane · Addressable URI#hostname strips brackets from hosts that aren't IP literals
Affects kraneSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 2.10.0 when convenient.
Data as of 4 Dec 2026, 18:37 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.7 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% 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:N/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 4 Dec 2026.
What to do
Upgrade addressable to 2.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewkranepkg:brew/kraneOther threats | Affected
| Fixed in– |
RubyGemsaddressablepkg:gem/addressableOther threats | 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
Upgrade Addressable to version 2.10.0 or later, where invalid bracketed hosts raise an InvalidURIError, preventing this discrepancy. If upgrading is not immediately possible, ensure that host validation and connection use the same method, preferably #hostname. Reject URIs whose host starts with '[' unless IPAddr.new(uri.hostname) confirms a valid IPv6 address. Avoid checking #host while connecting to #hostname to prevent mismatches.
Description
Addressable::URI.parse in Addressable versions >= 2.3.5 improperly accepts bracketed hosts even when the content inside the brackets is not a valid IPv6 or IPvFuture literal. This causes a discrepancy where the #host method retains brackets but #hostname strips them, leading to potential mismatches between host validation and actual connection targets. This can allow bypass of host resolution checks, potentially enabling requests to internal or loopback addresses that should be blocked. The issue is fixed in Addressable 2.10.0 by rejecting invalid bracketed hosts.
References
- github.com/sporkmonger/addressable/security/advisories/GHSA-c7j3-jq7p-v3pr (opens in a new tab)
- github.com/sporkmonger/addressable/commit/b56b49d54f87887fa8f0e42216618eaa9af273de (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)