{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-113440","published":"2026-10-26T14:16:28.887000Z","last_modified":"2026-11-02T22:17:18.147000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":6.0,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","primary":false},"auth":false,"cwes":["CWE-522"],"cpes":[],"cpes_truncated":false,"vendors":["benoitc"],"products":["benoitc/hackney"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"EEF-CVE-2026-113440","ecosystem":"Hex","name":"hackney","purl":"pkg:hex/hackney","ranges":[{"introduced":"2.0.0","fixed":"4.9.0"}],"versions":["2.0.0","2.0.1","3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.2","3.2.0","3.2.1","4.0.0","4.0.1","4.0.2","4.0.3","4.1.0","4.2.0","4.2.1","4.2.2","4.2.3","4.3.0","4.4.0","4.4.1","4.4.2","4.4.3","4.4.5","4.5.0","4.5.1","4.5.2","4.6.0","4.6.1","4.7.0","4.7.1","4.7.2","4.7.3","4.7.4","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7"],"versions_truncated":false}],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-113440/","html_en":"/en/cve/CVE-2026-113440/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-113440","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-113440"},"untrusted":{"vendor_name":"benoitc","product_name":"hackney","desc_en":"Insufficiently Protected Credentials vulnerability in hackney in benoitc hackney allows a redirecting server to obtain the basic_auth and cookie credentials of a request via a same-host redirect to another scheme or port. With follow_redirect enabled, hackney:follow_redirect/10 in src/hackney.erl reissues the request to the Location target after hackney:maybe_strip_auth_on_redirect/3, which compared only the hostname of the current and the redirect URL. A redirect from https to http on the same host resent the Authorization and Cookie headers in cleartext, where an on-path attacker can read them, and a redirect to another port on the same host handed them to a different service. location_trusted forwards credentials to any target by design and is unchanged.\n\nThis issue affects hackney: from 2.0.0 before 4.9.0.","affected":[{"untrusted_vendor":"benoitc","untrusted_product":"hackney","versions":[]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-113440.html","tags":[]},{"url":"https://github.com/benoitc/hackney/commit/6548384b22ea196023a1963e2967d5715b6d9564","tags":[]},{"url":"https://github.com/benoitc/hackney/commit/8f944559bdb83da60b5c06f6cf6d842591278364","tags":[]},{"url":"https://github.com/benoitc/hackney/pull/979","tags":[]},{"url":"https://github.com/benoitc/hackney/releases/tag/4.9.0","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-113440","tags":[]}]}}