llamaCVEVulnerability Intelligence
/
@fastify/middie

CVE-2026-14181

@fastify/middie standalone engine vulnerable to Denial of Service via malformed percent-encoded paths

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

Solo en configuraciones específicasParche disponibleuncaught exception
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/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 a -1 d de la divulgación
Exposición143 dDesde la divulgación, 1 jul 2026, 6:42 a. m.
Detección138 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Las PoC crecen rápido, como las llamas bebé.Tu yo del futuro te agradecerá revisarla hoy.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 9.3.3
Monitoreo
Detectada
Fuente: OSV +1
30 jun 26
1 jul 26
17 nov 26
18 nov 26
21 nov 26
30 jun 26
5 ago 26
10 sept 26
16 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 9.3.3 @fastify/middie · -1 d desde divulgación
Divulgación Publicada CVE-2026-14181 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

@fastify/middie versions 9.1.0 through 9.3.2 fail to guard the URL normalization step used by the standalone engine when incoming request paths contain malformed percent-encoded sequences. Inputs such as an incomplete percent escape or a truncated multibyte sequence cause the underlying decoder to throw synchronously, and the exception escapes the middie normalize step and terminates the Node.js process. The bypass affects applications that call middie.run directly on the standalone engine API, causing an immediate denial of service for all connected clients until restart. Applications using the Fastify plugin path are not affected because Fastifys error handler catches the exception. Patches: upgrade to @fastify/middie 9.3.3. Workarounds: migrate from the standalone engine API to the Fastify plugin path, where the framework error handler catches the exception.

Only affects @fastify/middie 9.1.0 through 9.3.2 when an application uses the standalone engine API (middie.run) directly, not the Fastify plugin path. Fixed in 9.3.3.

¿Qué significa?A malformed percent-encoded path makes the middleware throw an uncaught URIError, which crashes the Node.js process. The service then stops serving all connected clients until it is restarted.
¿Quién está afectado?Versions 9.1.0 through 9.3.2 of @fastify/middie are affected, but only in setups that use the standalone engine API (middie.run) directly. The issue is limited to that path, not the Fastify plugin path. Check the installed version with npm ls @fastify/middie.
¿Qué hacer?Upgrade @fastify/middie to 9.3.3, the fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected versions of @fastify/middie are 9.1.0 through 9.3.2.“@fastify/middie versions >= 9.1.0, <= 9.3.2 crash with an uncaught URIError”
02
The application uses the standalone engine API directly (middie.run), not the Fastify plugin path.“This only affects applications using the standalone engine API”
¿Quién debe revisar?Teams running @fastify/middie 9.1.0 through 9.3.2 that call middie.run directly on the standalone engine API (require('@fastify/middie/lib/engine')) rather than the Fastify plugin.
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:L
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
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
@fastify/middie≥ 9.1.0 ≤ 9.3.2
@fastify/middie≥ 9.1.0 < 9.3.3
9.1.0
9.3.2
9.3.3
9.3.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/middie
Corregida 9.3.3 -1 d 9.3.6 no afectada
Versiones corregidas9.3.3
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/middie/security/advisories/GHSA-qcc9-jh8q-47vh
Otrahttps://cna.openjsf.org/security-advisories.html

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