CVE-2026-113440
HTTP/1.1 and HTTP/2 redirects resend basic_auth and cookie to a different scheme or port in hackney
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-113440 divulgada · CVSS 6 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The hackney Erlang HTTP client library is affected. When following redirects, it could resend Basic authentication and cookie credentials to a redirect target that differed only in scheme or port on the same host, such as an HTTPS-to-HTTP downgrade, which exposed those credentials to network eavesdroppers or to a different service on that host.
Descripción original del registro (EEF)
Insufficiently Protected Credentials vulnerability in hackney in benoitc hackney allows a redirecting server to obtain the basic_auth and cookie credentials of a request via a same-host redirect to another scheme or port. With follow_redirect enabled, hackney:follow_redirect/10 in src/hackney.erl reissues the request to the Location target after hackney:maybe_strip_auth_on_redirect/3, which compared only the hostname of the current and the redirect URL. A redirect from https to http on the same host resent the Authorization and Cookie headers in cleartext, where an on-path attacker can read them, and a redirect to another port on the same host handed them to a different service. location_trusted forwards credentials to any target by design and is unchanged. This issue affects hackney: from 2.0.0 before 4.9.0.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
hackney |
Corregida | 4.9.0 | — | — |
4.9.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/benoitc/hackney/releases/tag/4.9.0https://github.com/benoitc/hackney/commit/6548384b22ea196023a1963e2967d5715b6d9564https://cna.erlef.org/cves/CVE-2026-113440.htmlhttps://osv.dev/vulnerability/EEF-CVE-2026-113440https://github.com/benoitc/hackney/pull/979https://github.com/benoitc/hackney/commit/8f944559bdb83da60b5c06f6cf6d842591278364Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
