CVE-2026-115693benoitc hackney
Validación incorrecta de certificados en hackney
Crítica 9.1 Sin autenticación
Seguir: esta CVE · benoitc · benoitc hackney Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 4.0
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 26 oct 2026
- Actualizada
- 2 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-295
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/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
Qué pasa
Una vulnerabilidad de validación incorrecta de certificados en hackney_ssl permite que un atacante en la ruta de red suplante un servidor fijado a una autoridad de certificación privada. El problema ocurre porque hackney mantiene un callback de cadena parcial incluso cuando se reemplaza el almacén de confianza, permitiendo aceptar cadenas que terminan en una raíz públicamente confiable. El atacante necesita un certificado válido para el nombre de host objetivo.
Ver el texto original de NVD (en inglés)
Improper Certificate Validation vulnerability in hackney_ssl in benoitc hackney allows an on-path attacker to impersonate a server pinned to a private certificate authority via a certificate chain that ends in a publicly trusted root. hackney adds {partial_chain, fun hackney_ssl:partial_chain/1} to every verify_peer configuration. The callback returns any certificate in the peer chain whose public key matches a root in the bundled certifi store as the trust anchor, and OTP honours that callback over the configured cacerts. hackney_ssl:merge_ssl_opts/3 kept the callback when the caller replaced the trust store with cacerts or cacertfile in ssl_options, so a connection pinned to a private CA still accepted any chain that carried a publicly trusted root.
The hostname check still applies, so the attacker needs a publicly trusted certificate for the pinned hostname.
This issue affects hackney: from 1.24.0 before 4.9.0.
Qué hacer
Hay parche · versiones corregidas: 4.9.0
Actualiza hackney a la versión 4.9.0 o superior para corregir la validación de certificados.
- Aplica la actualización de seguridad del fabricante para hackney.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Hex | hackney |
≥ 1.24.0 < 4.9.0 |
4.9.0 |
— |
Según OSV / GitHub Advisories (EEF-CVE-2026-115693). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- benoitc · hackney
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.