{"api_version":"1","generated_at":"2026-12-01T22:38:31+00:00","cve":"CVE-2026-141535","urls":{"html":"https://cve.report/CVE-2026-141535","api":"https://cve.report/api/cve/CVE-2026-141535.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-141535","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-141535"},"summary":{"title":"Addressable URI#hostname strips brackets from hosts that aren't IP literals","description":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-12-01 22:18:03","updated_at":"2026-12-01 22:18:03"},"problem_types":["CWE-20","CWE-436","CWE-918","CWE-20 CWE-20: Improper Input Validation","CWE-436 CWE-436: Interpretation Conflict","CWE-918 CWE-918: Server-Side Request Forgery"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"3.7","severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":3.7,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"3.7","severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-c7j3-jq7p-v3pr","name":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-c7j3-jq7p-v3pr","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/sporkmonger/addressable/commit/b56b49d54f87887fa8f0e42216618eaa9af273de","name":"https://github.com/sporkmonger/addressable/commit/b56b49d54f87887fa8f0e42216618eaa9af273de","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0","name":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-141535","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141535","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"sporkmonger","product":"addressable","version":"affected >= 2.3.5, < 2.10.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"addressable","vendor":"sporkmonger","versions":[{"status":"affected","version":">= 2.3.5, < 2.10.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-436","description":"CWE-436: Interpretation Conflict","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-01T21:23:46.176Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-c7j3-jq7p-v3pr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-c7j3-jq7p-v3pr"},{"name":"https://github.com/sporkmonger/addressable/commit/b56b49d54f87887fa8f0e42216618eaa9af273de","tags":["x_refsource_MISC"],"url":"https://github.com/sporkmonger/addressable/commit/b56b49d54f87887fa8f0e42216618eaa9af273de"},{"name":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0","tags":["x_refsource_MISC"],"url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0"}],"source":{"advisory":"GHSA-c7j3-jq7p-v3pr","discovery":"UNKNOWN"},"title":"Addressable URI#hostname strips brackets from hosts that aren't IP literals"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-141535","datePublished":"2026-12-01T21:23:46.176Z","dateReserved":"2026-12-01T21:00:42.357Z","dateUpdated":"2026-12-01T21:23:46.176Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-01 22:18:03","lastModifiedDate":"2026-12-01 22:18:03","problem_types":["CWE-20","CWE-436","CWE-918","CWE-20 CWE-20: Improper Input Validation","CWE-436 CWE-436: Interpretation Conflict","CWE-918 CWE-918: Server-Side Request Forgery"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":3.7,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"141535","Ordinal":"1","Title":"Addressable URI#hostname strips brackets from hosts that aren't ","CVE":"CVE-2026-141535","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"141535","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Addressable URI#hostname strips brackets from hosts that aren't "}]}}}