
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-141535 is a Server-Side Request Forgery (SSRF) / security feature bypass vulnerability in the Addressable Ruby gem, an alternative URI implementation to Ruby's standard library. Affecting versions >= 2.3.5 and < 2.10.0, the flaw arises because Addressable::URI#hostname strips brackets from non-IP-literal hosts while Addressable::URI#host retains them, creating a discrepancy that allows SSRF filter bypass. The vulnerability was reported by Praneeth (@praneeth-bala) of UCSB SecLab, published on November 23, 2026, and added to the GitHub Advisory Database on December 1, 2026. It carries a CVSS v3.1 base score of 3.7 (Low) (Github Advisory).
The root cause is an interpretation conflict (CWE-436) combined with improper input validation (CWE-20) leading to SSRF (CWE-918). RFC 3986 §3.2.2 permits brackets in a URI host only around valid IPv6 addresses or IPvFuture literals, but Addressable versions >= 2.3.5 accepted any bracketed host value. The #host method returns the value with brackets intact (e.g., [127.0.0.1]), which fails IP resolution checks, while #hostname silently strips the brackets (returning 127.0.0.1), which resolves normally. Code that validates using #host but connects using #hostname — including via Net::HTTP — will therefore pass a bracketed non-IP host through an SSRF filter and then connect to the corresponding loopback or internal address. A proof-of-concept script is included in the official advisory demonstrating bypass of loopback/private-address checks using inputs such as http://[127.0.0.1]:PORT/, http://[localhost]:PORT/, and http://[0x7f.1]:PORT/ (Github Advisory, Patch Commit).
Successful exploitation allows an unauthenticated remote attacker to cause a vulnerable Ruby application to make HTTP requests to loopback addresses (e.g., 127.0.0.1) or internal network hostnames that SSRF defenses were intended to block. The confidentiality impact is rated Low — an attacker may read responses from internal services reachable by the server — while integrity and availability are unaffected per the CVSS assessment. The practical risk depends heavily on what internal services are exposed: in cloud environments with metadata endpoints (e.g., 169.254.169.254) or internal APIs, exploitation could expose sensitive configuration data or credentials (Github Advisory).
There is no public proof-of-concept exploit beyond the demonstration script included in the official advisory, and no evidence of in-the-wild exploitation has been observed (Github Advisory). No threat actor attribution is available. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high attack complexity — the attacker must be able to supply a URL to an application that uses the vulnerable #host/#hostname pattern and permits unresolved hosts through its SSRF filter.
Addressable::URI#host, and then connects using Addressable::URI#hostname (e.g., via Net::HTTP).http://[127.0.0.1]:8080/, http://[localhost]/, http://[127.1]/, or http://[2130706433]/.blocked?(uri) using uri.host (e.g., [127.0.0.1]), which fails IP resolution (IPAddr.new("[127.0.0.1]") raises, Resolv.getaddresses returns []), so the host is not recognized as loopback and passes the filter.Net::HTTP (or similar) connects using uri.hostname (e.g., 127.0.0.1), which resolves normally, sending the HTTP request to the internal/loopback address and returning its response to the attacker (Github Advisory).127.0.0.1, ::1) or RFC 1918 private addresses (e.g., 10.x.x.x, 192.168.x.x, 172.16–31.x.x) or cloud metadata endpoints (169.254.169.254) that are unexpected or user-triggered.[127.0.0.1], [localhost], [127.1], [2130706433], or [0x7f.1]; HTTP client logs showing connections to internal addresses following such requests.Upgrade the addressable gem to version 2.10.0 or later, which raises Addressable::URI::InvalidURIError for any bracketed host that does not enclose a valid IPv6 address or IPvFuture literal, matching the behavior of Ruby's standard URI library (Github Advisory, Release). If immediate upgrade is not possible, apply the following workarounds: (1) perform SSRF validation on uri.hostname rather than uri.host so the same value used for connection is also checked; (2) reject any URI whose #host starts with [ unless IPAddr.new(uri.hostname) confirms it is a valid IPv6 address; (3) ensure that hosts failing DNS resolution are treated as blocked rather than permitted.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."