Amenazas en vivo

Todas las CVE / @fastify/middie

CVE-2026-112712@fastify/middie

Omisión de middleware de autenticación en @fastify/middie

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
20 oct 2026
Actualizada
30 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-436
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Qué pasa

@fastify/middie versiones 9.0.0 a 9.3.5 presentan un fallo en la construcción de rutas de middleware con alcance de ruta que puede causar que el middleware se omita silenciosamente mientras el manejador de ruta se ejecuta. Un atacante sin autenticación puede eludir controles de seguridad como autenticación, autorización o limitación de velocidad realizando una única solicitud.

Ver el texto original de NVD (en inglés)

@fastify/middie is the Express-style middleware engine for Fastify. In versions from 9.0.0 through 9.3.5, the use() function joined a path-scoped middleware's mount path to the plugin scope prefix in a way that could diverge from the path Fastify's router serves, most often when the scope prefix ended in a slash, and also for array mount paths and for mount paths written without a leading slash. When the two paths disagreed, the middleware was silently skipped while the route handler still ran, so path-scoped middleware such as authentication, authorization, or rate limiting could be bypassed by a single unauthenticated request. The issue is fixed in @fastify/middie 9.3.6, and users should upgrade to 9.3.6 or later. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after the router has resolved the request.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 9.3.6

Actualiza @fastify/middie a la versión 9.3.6 o posterior.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para @fastify/middie.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados

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.