llamaCVEVulnerability Intelligence
/
Fastify Middie

CVE-2026-132128

Fastify Middie path-scoped middleware bypass via Unicode case folding

A remote attacker can skip authentication, authorization, or rate limiting and reach protected routes.

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

Solo en configuraciones específicasSin parche publicadocase-sensitivity bypass
Descargar PNG JSON
CVSS 3.1
7.4
Alta
CVSS:3.1/AV:N/AC:H/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
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición2 dDesde la divulgación, 19 nov 2026, 6:29 a. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Ojo con los rangos de versión, son traicioneros.Como dice el refrán: más vale prevenir que restaurar backups.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Verificada
06:29 a. m.
07:22 a. m.
12:18 p. m.
04:10 p. m.
06:29 a. m.
08:55 p. m.
11:20 a. m.
01:45 a. m.
04:10 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-132128 divulgada · CVSS 7.4 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

@fastify/middie, the middleware engine for Fastify, lets a remote, unauthenticated attacker skip path-scoped middleware such as authentication, authorization, or rate limiting and reach the protected handler. It only affects applications that turn off case-sensitive routing and protect a path containing the letter k, where a specially encoded Unicode request bypasses the middleware.

Affects @fastify/middie 9.3.6 and earlier when Fastify runs with caseSensitive: false and the protected mount path contains the letter k. No vendor rating is given beyond the CVSS score of 7.4.

¿Qué significa?A client can spell a k in the mount path as the Unicode Kelvin sign (%E2%84%AA) and reach the protected handler without passing the authentication, authorization or rate limiting middleware mounted on that path.
¿Quién está afectado?Versions of @fastify/middie 9.3.6 and earlier are affected, and only when the application enables caseSensitive: false and the protected mount path contains the letter k. To check, look at the installed @fastify/middie version (for example with npm ls @fastify/middie) and at the caseSensitive setting in the Fastify configuration.
¿Qué hacer?Upgrade @fastify/middie to 9.3.7 or later, which is the fixed version listed in the affected range.
Descripción original del registro (openjs)

@fastify/middie is the middleware engine that adds Express and Connect style middleware support to Fastify. In versions up to and including 9.3.6, middie does not honor the router's caseSensitive setting and matches path-scoped middleware mount paths with a case-insensitive regular expression that does not fold non-ASCII characters, while Fastify's router, when caseSensitive is set to false, lowercases the request path with a Unicode-aware conversion that maps the KELVIN SIGN character (U+212A) to the ASCII letter k. A request that spells a k in a protected mount path as the percent-encoded KELVIN SIGN is therefore routed to the protected handler while the middleware mounted on that path, such as authentication, authorization, or rate limiting, never matches and is skipped, letting an unauthenticated client reach the handler. Only applications that set caseSensitive to false and protect a mount path containing the letter k are affected. The issue is fixed in @fastify/middie 9.3.7, and users should upgrade to 9.3.7 or later. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after routing, or keep routing case-sensitive, which is the default.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Fastify routing is set to case-insensitive (caseSensitive: false)“only when the application enables caseSensitive: false”
02
@fastify/middie version 9.3.6 or earlier“@fastify/middie versions <= 9.3.6 do not read routerOptions.caseSensitive”
03
The protected mount path contains the letter k“Only a mount path containing k is affected”
¿Quién debe revisar?Teams running @fastify/middie 9.3.6 or earlier on Fastify with caseSensitive: false and path-scoped middleware on mount paths containing the letter k, such as auth or rate limiting.
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:H
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
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
@fastify/middie< 9.3.7
9.3.6
9.3.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/middie
Sin parche — — 9.3.6 afectada
Versiones corregidas9.3.7
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-r5h5-r25j-5vhr
Otrahttps://cna.openjsf.org/security-advisories.html

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