Amenazas en vivo

Todas las CVE / @fastify/express

CVE-2026-129504@fastify/express

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

Crítica 9.1 Sin autenticación

Prioridad
75
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
21 nov 2026
Actualizada
23 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-436, CWE-863
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/express versiones 4.0.0 a 4.0.9 concatenan incorrectamente la ruta del middleware con el prefijo del plugin, causando que Express no coincida con la ruta y omita el middleware de autenticación. Esto expone rutas protegidas a clientes no autenticados sin requerir solicitudes especiales ni opciones no predeterminadas.

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

@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.0 through 4.0.9, the plugin joins a path-scoped middleware's mount path to the Fastify plugin prefix by string concatenation, so when the plugin prefix ends with a slash or the mount path omits its leading slash, the resulting Express mount path does not line up with the route the Fastify router serves. Express then fails to match and passes the request on while the Fastify router still dispatches the route, so the middleware is silently skipped. An application that uses path-scoped Express middleware for authentication or authorization inside a prefixed plugin can expose protected routes to unauthenticated clients, with no crafted request and no non-default option required, and string, array, and regular-expression mount paths are all affected. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 4.0.10

Actualiza @fastify/express a versión 4.0.10 o posterior para corregir la concatenación de rutas.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para @fastify/express.
  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.