CVE-2026-47070: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in benoitc hackney
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.
AI Analysis
Technical Summary
The vulnerability arises because the HTTP/3 redirect handler in hackney (hackney_h3.erl) forwards original request headers, including sensitive Authorization or Cookie headers, to redirect targets without verifying if the new location is trusted. This contrasts with the main hackney module, which uses maybe_strip_auth_on_redirect/2 guarded by a location_trusted option to prevent such leaks. As a result, when a client follows a 3xx redirect to a different host with follow_redirect enabled, credentials may be sent to an untrusted origin, exposing sensitive data. This affects hackney versions from 3.1.1 up to but not including 4.0.1.
Potential Impact
An attacker controlling or influencing redirect targets can cause clients using vulnerable hackney versions to send sensitive credentials (Authorization or Cookie headers) to untrusted third-party hosts. This leads to sensitive data exposure. There is no indication that this vulnerability allows privilege escalation or direct code execution, but it compromises confidentiality of authentication tokens or cookies during HTTP/3 redirects.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling HTTP/3 redirect following or avoid using the vulnerable hackney versions. Monitoring for updates from the benoitc project is recommended to apply any forthcoming patches or official mitigations.
CVE-2026-47070: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in benoitc hackney
Description
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.
CVSS v4.0
Score 6.0medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the HTTP/3 redirect handler in hackney (hackney_h3.erl) forwards original request headers, including sensitive Authorization or Cookie headers, to redirect targets without verifying if the new location is trusted. This contrasts with the main hackney module, which uses maybe_strip_auth_on_redirect/2 guarded by a location_trusted option to prevent such leaks. As a result, when a client follows a 3xx redirect to a different host with follow_redirect enabled, credentials may be sent to an untrusted origin, exposing sensitive data. This affects hackney versions from 3.1.1 up to but not including 4.0.1.
Potential Impact
An attacker controlling or influencing redirect targets can cause clients using vulnerable hackney versions to send sensitive credentials (Authorization or Cookie headers) to untrusted third-party hosts. This leads to sensitive data exposure. There is no indication that this vulnerability allows privilege escalation or direct code execution, but it compromises confidentiality of authentication tokens or cookies during HTTP/3 redirects.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling HTTP/3 redirect following or avoid using the vulnerable hackney versions. Monitoring for updates from the benoitc project is recommended to apply any forthcoming patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-18T17:28:08.322Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a149bd3a5ae1af1aad7731b
Added to database: 05/25/2026, 18:58:27 UTC
Last enriched: 06/01/2026, 20:35:42 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.