CVE-2026-47070
published medium CVSS 4.0 · 6.0HTTP/3 redirect handler leaks Authorization and Cookie headers to cross-origin redirect target in hackney
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benoitc | — | hackney3.1.1 to < 4.0.1 · Other versions: unaffected | Affected | Not stated | EEF |
| benoitc | — | benoitc/hackneyhackney · e61b7d04b7826847e1efe614106ef4d580c78eab to < c58d5b50bade146360b85caf3dc8065807b08246 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benoitc | hackney | 3.1.1 to < 4.0.1 (affected · semver)Default: unaffected | EEF · cna |
| benoitc | hackney | e61b7d04b7826847e1efe614106ef4d580c78eab to < c58d5b50bade146360b85caf3dc8065807b08246 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-601 CWE-601 URL Redirection to Untrusted Site
References
5- EEF CNA record for CVE-2026-47070 https://cna.erlef.org/cves/CVE-2026-47070.html
- Fix commit c58d5b5 in benoitc/hackney https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246
- Introducing commit e61b7d0 in benoitc/hackney https://github.com/benoitc/hackney/commit/e61b7d04b7826847e1efe614106ef4d580c78eab
- Cross-origin redirect leaks Authorization, Cookie, and request body https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4
- OSV record EEF-CVE-2026-47070 https://osv.dev/vulnerability/EEF-CVE-2026-47070
Provider assertions
2EEF · cna
HTTP/3 redirect handler leaks Authorization and Cookie headers to cross-origin redirect target in hackney
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ded2e69367e0a5ea99aa0cabb7f5d942b585a6b53b5c75422b4f4e5dddb5d08
- Ingested
- 20 Nov 2026, 08:05:49 UTC
- Source record
- Official CVE record