# CVE-2026-47070: HTTP/3 redirect handler leaks Authorization and Cookie headers to cross-origin redirect target in hackney

- Severity: Medium 6.0 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-25T14:00:46.420Z
- Modified: 2026-11-25T17:23:11.915Z
- Also known as: GHSA-h73q-4w9q-82h4, EEF-CVE-2026-47070
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- hackney: from 3.1.1 before 4.0.1
- benoitc/hackney: from e61b7d04b7826847e1efe614106ef4d580c78eab before c58d5b50bade146360b85caf3dc8065807b08246
- hackney (Hex): from 3.1.1 before 4.0.1
- https://github.com/benoitc/hackney: from e61b7d04b7826847e1efe614106ef4d580c78eab before c58d5b50bade146360b85caf3dc8065807b08246
- benoitc hackney: from 3.1.1 before 4.0.1

## Every score

- EEF: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4> (exploit, advisory, patch, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-47070.html> (patch, related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-47070> (patch, related, third-party-advisory, web)
- <https://github.com/benoitc/hackney/commit/e61b7d04b7826847e1efe614106ef4d580c78eab> (related, web)
- <https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47070> (advisory)
- <https://github.com/benoitc/hackney> (package)
- <https://hex.pm/packages/hackney> (package)

## Sources

- CVE List: [CVE-2026-47070](https://www.cve.org/CVERecord?id=CVE-2026-47070), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-h73q-4w9q-82h4](https://github.com/advisories/GHSA-h73q-4w9q-82h4), CC-BY-4.0, modified 2026-06-26
- Erlang Ecosystem Foundation: [EEF-CVE-2026-47070](https://osv.dev/vulnerability/EEF-CVE-2026-47070), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-47070](https://nvd.nist.gov/vuln/detail/CVE-2026-47070), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-47070 · Whole record: https://cve.day/CVE-2026-47070.json · Rebuilt by cve.day 2026-11-25T22:59:22.274Z
