CVE-2026-85184Fastify/middie
Omisión de controles de acceso basados en ruta en @fastify/middie
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Fastify · Fastify/middie Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 4 sep 2026
- Actualizada
- 15 sep 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.1.0 a 9.3.3 evalúan el middleware con ruta limitada contra la solicitud sin procesar, mientras que el enrutador de Fastify resuelve solicitudes en forma absoluta antes de despachar. Un atacante sin autenticación puede usar solicitudes en forma absoluta para eludir controles de acceso basados en ruta, como autenticación o autorización.
Ver el texto original de NVD (en inglés)
@fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later.
Qué hacer
Hay parche · versiones corregidas: 9.3.4
Actualiza @fastify/middie a versión 9.3.4 o posterior.
- Aplica la actualización de seguridad del fabricante para Fastify/middie.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| fastify | fastify/middie | ≥ 9.1.0 < 9.3.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- cna.openjsf.org Third Party Advisory
- github.com Mitigation Vendor Advisory