PT-2026-43067 · Benoitc · Hackney
Benoit Chesneau
+2
·
Published
2026-05-25
·
Updated
2026-05-25
·
CVE-2026-47070
CVSS v4.0
6.0
Medium
| Vector | AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
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.
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hackney