llamaCVEVulnerability Intelligence
/
@fastify/middie

CVE-2026-14198

@fastify/middie vulnerable to authorization bypass via encoded slash in path parameter values

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

UnclearParche 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 a -1 d de la divulgación
Exposición143 dDesde la divulgación, 1 jul 2026, 6:29 a. m.
Detección138 dDesde 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.
Tu firewall merece enterarse de esto.Huele a exploit funcional. Y yo de olores sé.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 9.3.3
Monitoreo
Detectada
Fuente: OSV +1
30 jun 26
1 jul 26
17 nov 26
18 nov 26
21 nov 26
30 jun 26
5 ago 26
10 sept 26
16 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 9.3.3 @fastify/middie · -1 d desde divulgación
Divulgación Publicada CVE-2026-14198 divulgada · CVSS 9.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

@fastify/middie versions 9.1.0 through 9.3.2 decode the encoded slash %2F inside path parameter values before matching middleware paths, while Fastify's underlying router preserves the encoding during route lookup. The two layers disagree on the canonical request path, so the middleware fails to match a URL that the route handler does match. When middleware is used for authentication, authorization, rate limiting, or auditing on parameterized paths, an attacker can reach the protected handler by sending a single crafted URL with an encoded slash in the parameter position. The bypass is HTTP method agnostic and requires no authentication or special preconditions. Patches: upgrade to @fastify/middie 9.3.3. Workarounds: avoid parameterized middleware paths for security decisions, or enforce authentication at the route handler or via a Fastify hook that runs after the router has resolved the request.

@fastify/middie versions 9.1.0 through 9.3.2 decode encoded slashes in path parameters, which can bypass middleware on parameterized paths. Fixed in 9.3.3.

¿Qué significa?The middleware matching step decodes the encoded slash %2F inside path parameter values before matching middleware paths. A single crafted URL such as /user/a%2Fb/comments can then reach a protected handler without passing the middleware that guards it.
¿Quién está afectado?Versions 9.1.0 through 9.3.2 of @fastify/middie are affected when middleware is mounted on parameterized paths and used for authentication, authorization, rate limiting, or auditing. To check the installed version, run npm ls @fastify/middie in the project directory.
¿Qué hacer?Upgrade @fastify/middie to 9.3.3, the fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected @fastify/middie versions 9.1.0 through 9.3.2.“@fastify/middie versions >= 9.1.0, <= 9.3.2 decode the encoded slash %2F inside path parameter values before matching middleware paths”
02
Middleware is mounted on parameterized paths and used for authentication, authorization, rate limiting, or auditing.“When middleware is used for authentication, authorization, rate limiting, or auditing on parameterized paths”
¿Quién debe revisar?Teams running @fastify/middie 9.1.0 through 9.3.2 with parameterized middleware paths used for authentication, authorization, rate limiting, or auditing.
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/middie≥ 9.1.0 ≤ 9.3.2
@fastify/middie≥ 9.1.0 < 9.3.3
9.1.0
9.3.2
9.3.3
9.3.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/middie
Corregida 9.3.3 -1 d 9.3.6 no afectada
Versiones corregidas9.3.3
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/middie/security/advisories/GHSA-2v46-jxjm-7q3v
Otrahttps://cna.openjsf.org/security-advisories.html

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