CVE-2026-141535 - Addressable URI#hostname strips brackets from hosts that aren't IP literals

Vulnerability · Reported by NVD · · CWE-20, CWE-436, CWE-918

Severity
Low Risk score 37/100
CVSS
3.7 v3.1 · from NVD
Exploit chance (EPSS)
– Not available yet
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first.

Is it being exploited?

There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.

Patch priority and what to do

Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-141535

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.