CVE-2026-47070HTTP/3 redirect handler leaks Authorization and Cookie headers to cross-origin redirect…
Sensitive Data Exposure vulnerability in benoitc hackney allows Retrieve Embedded Sensitive Data. The 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. The 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. This issue affects hackney: from 3.1.1 before 4.0.1.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- benoitc hackney: affected: 3.1.1 to before 4.0.1; fixed in
4.0.1 - benoitc hackney: affected: e61b7d04b7826847e1efe614106ef4d580c78eab to before c58d5b50bade146360b85caf3dc8065807b08246
Vendor advisories:
- https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4 (vendor-advisory)
- https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246 (patch)
References
- https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4
- https://cna.erlef.org/cves/CVE-2026-47070.html
- https://osv.dev/vulnerability/EEF-CVE-2026-47070
- https://github.com/benoitc/hackney/commit/e61b7d04b7826847e1efe614106ef4d580c78eab
- https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.