CVE-2026-47070Benoitc Hackney
Medium 6.0 No auth needed
Follow: this CVE · Benoitc · Benoitc Hackney We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 4.0
- 6.0
- EPSS
- —
- Auth required
- No
- Published
- May 25, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
- Apply the vendor's security update for Hackney.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Hex | hackney |
≥ 3.1.1 < 4.0.1 |
4.0.1 |
— |
| Hex | hackney |
≥ 3.1.1 < 4.0.1 |
4.0.1 |
— |
Per OSV / GitHub Advisories (EEF-CVE-2026-47070, GHSA-h73q-4w9q-82h4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| benoitc | hackney | ≥ 3.1.1 < 4.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- cna.erlef.org Patch Third Party Advisory
- github.com Patch
- github.com
- github.com Exploit Patch Vendor Advisory
- osv.dev Patch Third Party Advisory