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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20",
"CWE-436",
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141535.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.3.5"
},
{
"fixed": "2.10.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "b56b49d54f87887fa8f0e42216618eaa9af273de"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "addressable-2.10.0",
"range": [
{
"fixed": "a12466a0e52fe28a721564b5c51f83a092a7719f"
}
],
"source": "REFERENCES_TAG"
}
]
}