Skip to main content

Addressable CVE-2026-141535

| EUVDEUVD-2026-140758 LOW
Improper Input Validation (CWE-20)
2026-12-01 GitHub_M GHSA-c7j3-jq7p-v3pr
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit URL with bracketed host [127.0.0.1]
  2. Delivery
    #host check sees non-resolving bracketed value
  3. Exploit
    SSRF filter permits request
  4. Execution
    #hostname strips brackets on connect
  5. Persist
    Net::HTTP reaches loopback/internal service
  6. Impact
    Internal response disclosed to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Not a default-configuration remote compromise. Exploitation requires a consuming application that (1) parses an untrusted URL with Addressable, (2) performs its SSRF/destination check against Addressable::URI#host and permits a host even when it does not resolve, and (3) actually connects using Addressable::URI#hostname, for example by passing the Addressable URI to Net::HTTP. The limiting factors are significant: an application whose SSRF check treats non-resolving names as blocked is not affected, valid bracketed IPv6 literals such as [::1] are not affected (IPAddr accepts them), and the flaw only exists in Addressable versions >= 2.3.5 and <= 2.9.2 (where #hostname strips brackets). The vendor's workarounds are to check the same value used to connect (prefer #hostname for SSRF checks), or reject any URI whose #host starts with '[' unless IPAddr.new(uri.hostname) is an IPv6 address; updating to 2.10.0, which raises InvalidURIError for non-IP-literal bracketed hosts, is the complete fix.

Impact

This is a genuinely low-priority issue by every available signal, and they are consistent rather than conflicting. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, base 3.7) rates it Low: network-reachable and unauthenticated, but with high attack complexity and only limited confidentiality impact. The vuln.today decision label is 'monitor', the lowest urgency tier, and it is not listed in CISA KEV, so there is no confirmed active exploitation. No EPSS score was supplied, so exploitation probability cannot be quantified from this data. The GHSA advisory includes a working proof-of-concept demonstration, but this is a library filter-bypass primitive, not a self-contained remote exploit. The AC:H rating is well-justified and not attacker-controlled: exploitation depends entirely on a specific application coding pattern (checking Addressable::URI#host while connecting via #hostname, and permitting hosts that do not resolve) rather than on anything the attacker can force. Net assessment: a real but narrow SSRF-filter-bypass weakness that matters only to applications with that exact pattern - not a widespread emergency.

Exploit ScenarioDerived

An application uses Addressable to parse an attacker-supplied URL, blocks internal destinations by inspecting URI#host, but then performs the outbound request with URI#hostname (for example by handing the URI to Net::HTTP). An attacker submits a URL such as http://[127.0.0.1]/ or http://[localhost]/: the bracketed value passes the #host-based SSRF check (it does not resolve) yet #hostname strips the brackets so the request actually reaches loopback or an internal host. A public proof-of-concept demonstrating this bracket-stripping bypass is published in the GHSA advisory, though high attack complexity applies because the target app must have the vulnerable check-vs-connect mismatch.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

SSRF filter bypass in the Addressable Ruby gem (2.3.5 through 2.9.2) lets an attacker-supplied URL pass a destination check yet still reach loopback or internal hosts. Addressable::URI.parse accepts brackets around values that are not IPv6 or IPvFuture literals - http://[127.0.0.1]/ or http://[localhost]/ - and #hostname strips those brackets while #host retains them, so a consuming application that validates #host but connects through Net::HTTP with #hostname checks one name and connects to another. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, 3.7) reflects that this only bites applications using that specific check-then-connect pattern and permitting non-resolving hosts; there is no CISA KEV entry and a public proof-of-concept reference exists in the vendor advisory, though it is not verified as working exploit code, and the vendor's own priority signal is monitor.

RemediationAI

Upgrade the Ruby gem to Addressable 2.10.0 (release tag addressable-2.10.0, fix commit b56b49d54f87887fa8f0e42216618eaa9af273de), which makes URI.parse, URI.new and the host setters raise InvalidURIError when brackets enclose anything other than an IPv6 address or IPvFuture literal; note the side effect that previously accepted inputs such as http://[127.0.0.1]/ or http://example[.]com/ will now raise, so applications that relied on parsing such strings need error handling. If upgrading is deferred, the vendor workarounds are to perform the SSRF check on the exact value used to connect - generally prefer #hostname over #host and never check #host then connect to #hostname - or to reject any URI whose #host starts with '[' unless IPAddr.new(uri.hostname) is an IPv6 address, which preserves legitimate bracketed IPv6 literals such as [::1] but must be applied consistently across every code path that fetches URLs. Applications whose destination check treats non-resolving names as blocked are not affected and need no change. Details are in the vendor advisory at https://github.com/sporkmonger/addressable/security/advisories/GHSA-c7j3-jq7p-v3pr.

Affected VersionsENISA

addressable 2.3.5, < 2.10.0

Affected Packages

rubygems addressable fix: 2.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Addressable is a pure-Ruby alternative to the standard library URI implementation, and the root cause is improper input validation (CWE-20) over RFC 3986 §3.2.2, which permits square brackets in a host only as delimiters of an IP-literal: an IPv6 address or an IPvFuture literal (v<hex>.…). Addressable >= 2.3.5 - the release where #hostname began stripping brackets from any bracketed host - did not enforce that restriction, so a registered name or IPv4 address in brackets was stored verbatim in #host and returned unbracketed by #hostname. This is a parser differential / interpretation conflict (CWE-436) that becomes a server-side request forgery primitive (CWE-918) in downstream consumers: the bracketed form does not resolve (IPAddr.new("[127.0.0.1]") raises and Resolv returns no addresses), so a resolver-based SSRF check sees an unresolvable name, while the stripped form resolves normally at connection time. Valid bracketed IPv6 literals such as [::1] are unaffected because IPAddr accepts their bracketed form. The fix commit b56b49d54f87887fa8f0e42216618eaa9af273de adds an ip_literal?/ipv6_address? validator that recognizes RFC 3986 IPV6address, IPv4-embedded and IPvFuture forms, raises InvalidURIError for any other bracketed host in URI.parse, MRI.new and the host setters, and introduces a HOST_WITHOUT_BRACKETS normalization class so pct-encoded brackets in registered names stay encoded instead of being decoded into a malformed IP-literal.

Know when Addressable gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 3.7 LOW

Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H because it depends on the app checking #host but connecting via #hostname (not attacker-controlled); limited internal disclosure (C:L), no integrity/availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 23:19 EUVD
CVE Published
Dec 01, 2026 - 21:23 cve.org
LOW 3.7

DescriptionCVE.org

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.5 until 2.10.0, Addressable accepts bracketed non-IP hosts that are not IPv6 or IPvFuture literals, while Addressable::URI#hostname removes those brackets. Code that checks Addressable::URI#host but connects with Addressable::URI#hostname, including through Net::HTTP, can permit an unresolved bracketed value and then connect to the corresponding loopback or internal hostname. This issue is fixed in version 2.10.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
High
Addressable is a widely-used Ruby URI library and common transitive dependency
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-35611 HIGH
7.5 Apr 07

Regular expression denial of service (ReDoS) in the Addressable Ruby library versions 2.3.0 through 2.8.x allows unauthe

CVE-2021-32740 HIGH
7.5 Jul 06

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Rated hi

CVE-2026-141528 MEDIUM
5.9 Dec 01

Regular expression denial of service in the Addressable Ruby gem (2.3.0 through 2.9.2) allows crafted URIs to force exce

CVE-2026-141527 MEDIUM
5.9 Dec 01

Polynomial backtracking in Addressable's URI template matching lets a crafted URI drive Template#match or Template#extra

CVE-2026-141526 MEDIUM
5.9 Dec 01

Polynomial-time regular expression backtracking in the Addressable Ruby gem's URI template matcher (Template#match and T

CVE-2026-141525 MEDIUM
5.9 Dec 01

Polynomial-time regular-expression backtracking in the Addressable Ruby gem (2.9.1 through 2.9.2) lets unauthenticated r

CVE-2026-141539 MEDIUM
4.8 Dec 01

Hostname filtering bypass in the Addressable Ruby URI library (versions 2.2.5 through 2.9.2, fixed in 2.10.0) causes a p

CVE-2026-141538 MEDIUM
4.8 Dec 01

Addressable, the Ruby URI library, fails to reject or percent-encode host-changing delimiters in the userinfo component:

CVE-2026-141529 LOW
3.7 Dec 01

Denial of service in the Addressable Ruby gem 2.9.1 through 2.9.x lets unauthenticated remote attackers consume excessiv

CVE-2026-141524 LOW
3.7 Dec 01

Addressable, the Ruby URI and RFC 6570 template library, takes the variable name in an unexploded ';', '?', or '&' templ

CVE-2026-141537 LOW
3.7 Dec 01

Quadratic-time Unicode normalization in the Ruby Addressable gem (2.0.0 through 2.9.2) lets remote attackers burn CPU on

CVE-2026-141536 LOW
3.7 Dec 01

Addressable's URI#request_uri (versions 2.1.2 through 2.9.2) returns the path and query verbatim, so stored control char

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy