{"id":"CVE-2026-47070","published":"2026-05-25T14:00:46Z","modified":"2026-11-20T08:01:27Z","title":"HTTP/3 redirect handler leaks Authorization and Cookie headers to cross-origin redirect target in hackney","vendor":"benoitc","product":"hackney","tier":"tail","description":{"text":"Sensitive Data Exposure vulnerability in benoitc hackney allows Retrieve Embedded Sensitive Data.\n\nThe HTTP/3 redirect handler in src/hackney_h3.erl passes the original request headers unchanged to the redirect target without performing any cross-origin check. When a client issues an HTTP/3 request with follow_redirect enabled and includes Authorization or Cookie headers, a server responding with a 3xx redirect to a different host will cause the client to forward those credentials verbatim to the new origin.\n\nThe main hackney.erl module has maybe_strip_auth_on_redirect/2 (guarded by the location_trusted option) to address CVE-2018-1000007, but hackney_h3.erl is missing this protection entirely.\n\nThis issue affects hackney: from 3.1.1 before 4.0.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.20792,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-47070.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-47070","tags":["related"]},{"url":"https://github.com/benoitc/hackney/commit/e61b7d04b7826847e1efe614106ef4d580c78eab","tags":["related"]},{"url":"https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246","tags":["patch"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.16},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"benoitc","affectedVersions":[{"vendor":"benoitc","product":"hackney","versions":[">= 3.1.1, < 4.0.1"]},{"vendor":"benoitc","product":"hackney","versions":[">= e61b7d04b7826847e1efe614106ef4d580c78eab, < c58d5b50bade146360b85caf3dc8065807b08246"]}],"capec":[{"id":"CAPEC-37","name":"Retrieve Embedded Sensitive Data"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-26T15:47:18.083809Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"hackney","vulnerableRanges":[">=3.1.1, <4.0.1"],"patched":["4.0.1"],"from":["GHSA-h73q-4w9q-82h4"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-31692","exploited":false,"provenance":"source"}}