CVE Professor
/
All CVEs
CVE-2026-141535

CVE-2026-141535 — Addressable — CWE-20 · CWE-436

LOW CVSS 3.7 ⚡ EPSS 0.4% GitHub

### Impact `Addressable::URI.parse` accepts a host in brackets even when the text inside isn't an IPv6 address or an IPvFuture literal, such as `http://[127.0.0.1]/` or `http://[localhost]/`. `#host` keeps the brackets, but `#hostname` strips them, so code that checks `host` and connects to `hostname` checks one name and connects to another. `Net::HTTP` connects to `hostname` when given an Addressable URI. RFC 3986 §3.2.2 allows brackets only around an IP-literal: an IPv6 address or an IPvFuture literal (`v1.…`). Ruby's `URI` and curl reject anything else. The bracketed form of a name or IPv4 address doesn't resolve: `IPAddr.new("[127.0.0.1]")` raises and `Resolv.getaddresses("[127.0.0.1]")` returns `[]`, while the stripped form resolves normally. A valid IPv6 literal such as `[::1]` isn't affected, because `IPAddr` accepts its bracketed form. An application is affected if it: - parses an untrusted URL with Addressable, - checks the destination using `#host`, and permits a host through even if it doesn't resolve, and - connects using `#hostname`, for example by passing the Addressable URI to `Net::HTTP`. The request then reaches loopback or another internal address that the check would otherwise have blocked. A check that treats names that don't resolve as blocked isn't affected. ### Affected Versions This vulnerability affects Addressable >= 2.3.5, where `#hostname` began stripping the brackets from any bracketed host. In earlier versions, `#hostname` doesn't exist

### Impact `Addressable::URI.parse` accepts a host in brackets even when the text inside isn't an IPv6 address or an IPvFuture literal, such as `http://[127.0.0.1]/` or `http://[localhost]/`. `#host` keeps the brackets, but `#hostname` strips them, so code that checks `host` and connects to `hostname` checks one name and connects to another. `Net::HTTP` connects to `hostname` when given an Addressable URI. RFC 3986 §3.2.2 allows brackets only around an IP-literal: an IPv6 address or an IPvFuture literal (`v1.…`). Ruby's `URI` and curl reject anything else. The bracketed form of a name or IPv4 address doesn't resolve: `IPAddr.new("[127.0.0.1]")` raises and `Resolv.getaddresses("[127.0.0.1]")` returns `[]`, while the stripped form resolves normally. A valid IPv6 literal such as `[::1]` isn't affected, because `IPAddr` accepts its bracketed form. An application is affected if it: - parses an untrusted URL with Addressable, - checks the destination using `#host`, and permits a host through even if it doesn't resolve, and - connects using `#hostname`, for example by passing the Addressable URI to `Net::HTTP`. The request then reaches loopback or another internal address that the check would otherwise have blocked. A check that treats names that don't resolve as blocked isn't affected. ### Affected Versions This vulnerability affects Addressable >= 2.3.5, where `#hostname` began stripping the brackets from any bracketed host. In earlier versions, `#hostname` doesn't exist

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality Low C:L
Integrity None I:N
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.4%
30-day probability
In the 39. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141535
CVSS 3.7/10 · LOW · 01.12.2026
CWE: CWE-20, CWE-436
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Impact

Addressable::URI.parse accepts a host in brackets even when the text inside isn't an IPv6 address or an IPvFuture literal, such as http://[127.0.0.1]/ or http://[localhost]/. #host keeps the brackets, but #hostname strips them, so code that checks host and connects to hostname checks one name and connects to another. Net::HTTP connects to hostname when given an Add…
Affected: addressable

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply vendor security update for addressable.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📌 Low priority — routine update sufficient.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
3.7 / 10 · CVSS LOW
Weakness Types (CWE)
CWE-20 CWE-436 CWE-918
Affected Products (1)
addressable
References & Advisories (4)
Related CVEs
9.9
CVE-2026-45262
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::s
9.6
CVE-2026-118743
Server-side request forgery in Microsoft Copilot allows an authorized attacker to elevate privileges over a ne
9.6
CVE-2026-145025
Grav API plugin before 1.1.21 validates the client-supplied admin_base_url or Origin header with PHP parse_url
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
9.2
CVE-2026-115991
Exposure of sensitive information in the content lock-check endpoints (PUT /api/content/canLock and GET /api/v
8.9
CVE-2026-144591
PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to re
8.6
CVE-2026-144962
Nginx UI from 2.4.1 before 2.9.2 contains a directive denylist bypass in internal/config/validation.go that al