llamaCVEVulnerability Intelligence
/
Fastify Express

CVE-2026-112362

Fastify Express middleware bypass in request path parsing

An unauthenticated attacker can skip authentication and rate limiting checks to reach protected admin routes.

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

Solo en configuraciones específicasParche disponibleinterpretation conflict
Descargar PNG JSON
CVSS 3.1
9.1
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 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ón25 dDesde la divulgación, 27 oct 2026, 6:27 a. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Si la dejas para después, después te va a doler.Ponla primerita en tu backlog, porfa.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 4.0.9
Monitoreo
Detectada +2
Fuente: OSV
Verificada
27 oct 26
4 nov 26
18 nov 26
21 nov 26
27 oct 26
2 nov 26
9 nov 26
15 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-112362 divulgada · CVSS 9.1 (CNA)
Remediación Parche 4.0.9 @fastify/express · 0 d desde divulgación
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
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/express, a plugin that runs Express middleware inside the Fastify web framework, is affected when the non-default ignoreDuplicateSlashes option is enabled. An unauthenticated attacker can send a specially formatted request that skips path-scoped middleware such as authentication, authorization, or rate limiting, allowing access to protected routes like admin paths.

Affects @fastify/express 4.0.5 up to but not including 4.0.9 when Fastify runs with the non-default routerOptions.ignoreDuplicateSlashes enabled. Fixed in 4.0.9.

¿Qué significa?A request with an absolute-form URL target can reach a handler on a path-scoped Express route, such as app.use('/admin', authMiddleware), while that middleware is skipped. Authentication, authorization or rate limiting on that route may therefore not run.
¿Quién está afectado?Versions 4.0.5 up to but not including 4.0.9 are affected, and only when Fastify runs with routerOptions.ignoreDuplicateSlashes set to true, which is not the default. Check the installed version with npm ls @fastify/express and check the routerOptions setting in the Fastify server setup.
¿Qué hacer?Upgrade @fastify/express to 4.0.9 or later.
Descripción original del registro (openjs)

@fastify/express is a Fastify plugin that runs Express middleware inside Fastify. In versions 4.0.5 through 4.0.8, when Fastify runs with the non-default ignoreDuplicateSlashes option enabled, the plugin matches path-scoped Express middleware against a URL whose duplicate-slash normalization has also collapsed the separator after an absolute-form request target's scheme, so Fastify's router resolves the request to the scoped path and runs the handler while the Express layer no longer sees that path. As a result, a request using an absolute-form target can reach a handler on a scoped route such as an admin path while the middleware for authentication, authorization, or rate limiting is skipped. An unauthenticated attacker needs only the non-default ignoreDuplicateSlashes option to be enabled. The issue is fixed in @fastify/express 4.0.9, and users should upgrade to 4.0.9 or later. As a workaround, enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request, or leave ignoreDuplicateSlashes at its default.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Fastify runs with routerOptions.ignoreDuplicateSlashes enabled (non-default option)“when Fastify runs with routerOptions.ignoreDuplicateSlashes: true”
02
@fastify/express version 4.0.5 up to but not including 4.0.9“@fastify/express versions >= 4.0.5, < 4.0.9”
03
Path-scoped Express middleware is registered on a route, such as app.use('/admin', ...)“On a scoped route such as app.use('/admin', authMiddleware)”
¿Quién debe revisar?Teams running @fastify/express 4.0.5 through 4.0.8 in Fastify apps with routerOptions.ignoreDuplicateSlashes enabled, especially those with path-scoped Express middleware on admin routes.
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:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
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/express≥ 4.0.5 < 4.0.9
4.0.5
4.0.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/express
Corregida 4.0.9 0 d 4.0.9 no afectada
Versiones corregidas4.0.9
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-express/security/advisories/GHSA-6h42-57hq-9746
Otrahttps://cna.openjsf.org/security-advisories.html

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