llamaCVEVulnerability Intelligence
/
hackney

CVE-2026-115693

Custom cacerts or cacertfile do not restrict trust to the pinned CA in hackney

Specific setups onlyParche disponibleimproper certificate validation
Descargar PNG JSON
CVSS 4.0
9.1
Crítica
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión4.9.0
Exposición24 dDesde la divulgación, 26 oct 2026, 8:49 a. m.
Detección12 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
26 oct 26
2 nov 26
19 nov 26
20 nov 26
26 oct 26
1 nov 26
7 nov 26
14 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-115693 divulgada · CVSS 9.1 (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
Resumen

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.

Affects hackney 1.24.0 before 4.9.0 when cacerts or cacertfile restricts trust to a private CA without its own partial_chain. Fixed in 4.9.0.

¿Qué significa?An on-path attacker can impersonate a server pinned to a private certificate authority, using a certificate chain that ends in a publicly trusted root, and then read or modify the traffic.
¿Quién está afectado?hackney versions from 1.24.0 before 4.9.0 are affected when the caller passes cacerts or cacertfile in ssl_options without a partial_chain of its own. Check the hackney version in the project's lock file and whether ssl_options sets cacerts or cacertfile without partial_chain.
¿Qué hacer?Upgrade hackney to 4.9.0. Until the upgrade is applied, pass a custom {partial_chain, Fun} in ssl_options alongside cacerts or cacertfile.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The caller passes cacerts or cacertfile in ssl_options without a partial_chain of its own“The caller passes cacerts or cacertfile in ssl_options to restrict trust to a private CA, without a partial_chain of its own.”
02
hackney versions from 1.24.0 before 4.9.0“This issue affects hackney: from 1.24.0 before 4.9.0.”
¿Quién debe revisar?Teams running hackney 1.24.0 through 4.8.x that pin a private CA with cacerts or cacertfile in ssl_options
MitigaciónPass your own {partial_chain, Fun} in ssl_options alongside cacerts or cacertfile.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
hackney≥ 1.24.0 < 4.9.0
1.24.0
4.9.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
hackney
Corregida 4.9.0 — —
Versiones corregidas4.9.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALEEF
configurationThe caller passes cacerts or cacertfile in ssl_options to restrict trust to a private CA, without a partial_chain of its own. Connections that use hackney's default certifi trust store are not affected.EEF
MitigaciónPass your own {partial_chain, Fun} in ssl_options alongside cacerts or cacertfile. A caller-supplied partial_chain replaces hackney's in the merge, and a callback that returns unknown_ca makes OTP validate against the configured cacerts only.EEF
Referencias
Advisoryhttps://github.com/benoitc/hackney/releases/tag/4.9.0
Parchehttps://github.com/benoitc/hackney/commit/915eb5737e9c489d8fc22eec8cdae30e9b027be4
Otrahttps://cna.erlef.org/cves/CVE-2026-115693.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-115693
Otrahttps://github.com/benoitc/hackney/pull/978
Otrahttps://github.com/benoitc/hackney/commit/d8a9afcf5c3849904274e2eba1df56c63d1a1a0c

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.