CVE-2026-22031
Fastify Middie Middleware Path Bypass
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 9.1.0 | @fastify/middie · -16 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-22031 divulgada · CVSS 8.4 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
@fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability exists in @fastify/middie prior to version 9.1.0 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints. Version 9.1.0 fixes the issue.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@fastify/middie |
Corregida | 9.1.0 | -16 d | 9.3.6 no afectada |
9.1.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69phttps://github.com/fastify/middie/pull/245https://github.com/fastify/middie/commit/d44cd56eb724490babf7b452fdbbdd37ea2effbahttps://github.com/fastify/middie/releases/tag/v9.1.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
