llamaCVEVulnerability Intelligence
/
fastify

CVE-2026-120216

fastify vulnerable to Denial of Service via uncaught exception on handlerTimeout with streaming responses

Texto original en inglés · Ver en español

Solo en configuraciones específicasParche disponibleuncaught exception
Descargar PNG JSON
CVSS 3.1
5.9
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición19 dDesde la divulgación, 2 nov 2026, 6:08 a. m.
Detección11 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Traje la llave inglesa: esto se arregla.Paso a paso, como subiendo al Cotopaxi.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 5.12.8
Monitoreo
Detectada +1
Fuente: OSV +1
2 nov 26
18 nov 26
21 nov 26
2 nov 26
7 nov 26
12 nov 26
16 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-120216 divulgada · CVSS 5.9 (CNA)
Remediación Parche 5.12.8 fastify · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

Fastify, a Node.js web framework, is affected when a non-default handler timeout is enabled and a route sends a streaming response. A single unauthenticated request to such a route can crash the entire server process, interrupting all other in-flight requests and causing a denial of service.

Only affects fastify 5.8.0 up to 5.12.8 when handlerTimeout is set to a nonzero value and a route returns a streaming response. Fixed in 5.12.8.

¿Qué significa?A request whose stream has already sent its headers can stay open past the handlerTimeout limit. The timeout then raises an uncaught exception that crashes the Node.js process, which stops the server and interrupts other in-flight requests.
¿Quién está afectado?Affected are fastify versions 5.8.0 up to but not including 5.12.8, where handlerTimeout is set to a nonzero value and a route returns a streaming response. To check a project, look up the installed fastify version (for example with npm ls fastify) and search the server configuration for handlerTimeout.
¿Qué hacer?Upgrade fastify to 5.12.8 or later, which is the listed fixed version.
Descripción original del registro (openjs)

fastify is a web framework for Node.js. In versions 5.8.0 through 5.12.7, when the server is configured with a nonzero handlerTimeout and a route returns a streaming response, a request whose stream has already sent its headers but stays open past the timeout crashes the server. When the timeout fires, Fastify tries to send a new error response on a response that has already started, raising an uncaught ERR_HTTP_HEADERS_SENT that terminates the Node.js process and interrupts any other in-flight requests. An unauthenticated remote client can trigger this with a single request to an affected streaming endpoint, so the impact is availability only, and exploitation requires the non-default handlerTimeout to be set. The default handlerTimeout of 0 is not affected. The issue is fixed in fastify 5.12.8, and users should upgrade to 5.12.8 or later. As a workaround, set handlerTimeout to 0, which disables the affected timeout path.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
fastify versions 5.8.0 up to but not including 5.12.8“>= 5.8.0, < 5.12.8”
02
handlerTimeout is set to a nonzero value“configured with a nonzero handlerTimeout”
03
A route returns a streaming response“a route returns a streaming response”
04
A request's stream has already sent its headers and stays open past the timeout“stays open past the timeout”
¿Quién debe revisar?Teams running fastify 5.8.0 through 5.12.7 with a nonzero handlerTimeout that serve streaming responses
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
fastify≥ 5.8.0 < 5.12.8
5.8.0
5.12.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmfastify
Corregida 5.12.8 0 d 5.12.8 no afectada
Versiones corregidas5.12.8
Explotación

Arsenal público

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

Registro
EscenarioGENERALopenjs
Referencias
Fabricantehttps://github.com/fastify/fastify/security/advisories/GHSA-3qgw-9275-xf8w
Otrahttps://cna.openjsf.org/security-advisories.html

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