CVE-2026-47070

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*

History

20 Nov 2026, 08:18

Type Values Removed Values Added
Summary (en) 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. (en) 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.
References
  • () https://github.com/benoitc/hackney/commit/e61b7d04b7826847e1efe614106ef4d580c78eab -

24 Jul 2026, 10:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de Exposición de Datos Sensibles en benoitc hackney permite Recuperar Datos Sensibles Incrustados. El gestor de redirección HTTP/3 en src/hackney_h3.erl pasa las cabeceras de la solicitud original sin cambios al objetivo de redirección sin realizar ninguna comprobación de origen cruzado. Cuando un cliente emite una solicitud HTTP/3 con follow_redirect habilitado e incluye cabeceras de Autorización o Cookie, un servidor que responde con una redirección 3xx a un host diferente hará que el cliente reenvíe esas credenciales textualmente al nuevo origen. El módulo principal hackney.erl tiene maybe_strip_auth_on_redirect/2 (protegido por la opción location_trusted) para abordar CVE-2018-1000007, pero hackney_h3.erl carece completamente de esta protección. Este problema afecta a hackney: desde 3.1.1 antes de 4.0.1.

17 Jun 2026, 10:54

Type Values Removed Values Added
References () https://cna.erlef.org/cves/CVE-2026-47070.html - Third Party Advisory, Patch () https://cna.erlef.org/cves/CVE-2026-47070.html - Patch, Third Party Advisory
References () https://osv.dev/vulnerability/EEF-CVE-2026-47070 - Third Party Advisory, Patch () https://osv.dev/vulnerability/EEF-CVE-2026-47070 - Patch, Third Party Advisory

27 May 2026, 13:55

Type Values Removed Values Added
CPE cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*
First Time Benoitc
Benoitc hackney
References () https://cna.erlef.org/cves/CVE-2026-47070.html - () https://cna.erlef.org/cves/CVE-2026-47070.html - Third Party Advisory, Patch
References () https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246 - () https://github.com/benoitc/hackney/commit/c58d5b50bade146360b85caf3dc8065807b08246 - Patch
References () https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4 - () https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4 - Exploit, Patch, Vendor Advisory
References () https://osv.dev/vulnerability/EEF-CVE-2026-47070 - () https://osv.dev/vulnerability/EEF-CVE-2026-47070 - Third Party Advisory, Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1

26 May 2026, 17:16

Type Values Removed Values Added
References () https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4 - () https://github.com/benoitc/hackney/security/advisories/GHSA-h73q-4w9q-82h4 -

25 May 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-25 15:16

Updated : 2026-11-20 08:18


NVD link : CVE-2026-47070

Mitre link : CVE-2026-47070

CVE.ORG link : CVE-2026-47070


JSON object : View

Products Affected

benoitc

  • hackney
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')