{"id":"CVE-2026-115700","summary":"SSRF allowlist bypass via percent-encoded bracketed IPv6 or trailing-dot IP literal in hackney","details":"Interpretation Conflict vulnerability in hackney_url in benoitc hackney allows Server Side Request Forgery via a percent-encoded bracketed IPv6 literal or an IP literal with a trailing dot. A host such as %5B%3A%3Affff%3A127%2E0%2E0%2E1%5D (decoding to [::ffff:127.0.0.1]) or 127.0.0.1. is not an IP address to a caller's allowlist built on uri_string:parse/1 and inet:parse_address/1, while hackney connects to the address it denotes. The same applies to a Location target when redirects are followed.\n\nThe IP-literal gate that hackney_url:normalize/2 applies to a percent-decoded host, added to close the percent-encoded IP bypass of CVE-2026-47076, passes the decoded value to inet_parse:address/1 as is. The connect path in hackney_happy:parse_address/1 drops a surrounding bracket pair, and the resolver ignores a trailing dot, so both forms pass the gate and still reach the literal address. Domain names with a trailing dot and unencoded IPv6 literals are not affected.\n\nThis issue affects hackney: from 4.0.1 before 4.9.0.","aliases":["EEF-CVE-2026-115700"],"modified":"2026-11-04T02:30:32.944260587Z","published":"2026-10-26T13:49:02.744Z","database_specific":{"cwe_ids":["CWE-436","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115700.json","cna_assigner":"EEF"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-115700.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-115700"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115700.json"},{"type":"ADVISORY","url":"https://github.com/benoitc/hackney/releases/tag/4.9.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115700"},{"type":"FIX","url":"https://github.com/benoitc/hackney/commit/452620a92ec1da2e6b4862a049a2a4f04b42068f"},{"type":"FIX","url":"https://github.com/benoitc/hackney/commit/f19561a0b422376348c91537e51377ab7325f4ee"},{"type":"FIX","url":"https://github.com/benoitc/hackney/pull/987"},{"type":"PACKAGE","url":"https://github.com/benoitc/hackney"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/benoitc/hackney","events":[{"introduced":"452620a92ec1da2e6b4862a049a2a4f04b42068f"},{"fixed":"f19561a0b422376348c91537e51377ab7325f4ee"},{"introduced":"c41c8d48ace8141b003f6f1de3ca6734a0c53056"},{"fixed":"0f5db333d43600e7b9fb9346143b4e9fdb8924ea"},{"fixed":"452620a92ec1da2e6b4862a049a2a4f04b42068f"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"452620a92ec1da2e6b4862a049a2a4f04b42068f"},{"fixed":"f19561a0b422376348c91537e51377ab7325f4ee"}]},{"strategy":"StandardRange","range":[{"introduced":"4.0.1"},{"fixed":"4.9.0"}],"source":"AFFECTED_FIELD"},{"original_tag":"4.9.0","range":[{"fixed":"0f5db333d43600e7b9fb9346143b4e9fdb8924ea"}],"source":"REFERENCES_TAG"},{"range":[{"fixed":"452620a92ec1da2e6b4862a049a2a4f04b42068f"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"f19561a0b422376348c91537e51377ab7325f4ee"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["4.8.7","4.8.6","4.8.5","4.8.4","4.8.3","4.8.2","4.8.1","4.8.0","4.7.4","4.7.3","4.7.2","4.7.1","4.7.0","4.6.1","4.6.0","4.5.2","4.5.1","4.5.0","4.4.5","4.4.4","4.4.3","4.4.2","4.4.1","4.4.0","4.3.0","4.2.3","4.2.2","4.2.1","4.2.0","4.1.0","4.0.3","4.0.2","4.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115700.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"}]}