llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @fastify/express

GHSA-6RMC-F24G-HMP6

@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding

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

Sin parche publicado
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: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición1 dDesde la divulgación, 20 nov 2026, 1:01 p. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir de cerca
Monitorear y programar la remediación
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Seguimiento de cerca: yo sé de mirar de cerca.Si el fabricante actualiza el aviso, vuelve a mirar.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
01:01 p. m.
04:32 p. m.
01:01 p. m.
07:54 p. m.
02:47 a. m.
09:39 a. m.
04:32 p. m.
FechaFaseEventoDetalle
Divulgación Publicada GHSA-6RMC-F24G-HMP6 divulgada · CVSS 7.4 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

When Fastify routing is case-insensitive (`routerOptions.caseSensitive: false`), find-my-way folds the request path with `toLowerCase()`, which maps the Unicode character U+212A KELVIN SIGN to the ASCII letter `k`. `@fastify/express` passes Express the decoded path without applying that folding, and Express matches mount paths with a case-insensitive regular expression that does not fold non-ASCII characters. The two disagree, so a request such as `/api/%E2%84%AAeys` is routed to the `/api/keys` handler while a path-scoped middleware mounted at `/api/keys` (authentication, authorization, rate limiting) never matches and is skipped. An unauthenticated client reaches the protected handler by spelling a `k` in the mount path as `%E2%84%AA`. Only a mount path containing `k` is affected, and only when the application enables `caseSensitive: false`.

Patches

Upgrade to `@fastify/express` `4.0.10` or later. The request path Express matches path-scoped middleware on is now folded with the same `toLowerCase()` the router uses when `caseSensitive` is `false`.

Workarounds

Enforce authorization in a Fastify hook (such as `preHandler`) that runs after the router has resolved the request, rather than relying solely on a path-scoped Express middleware. Leaving routing case-sensitive (the default) also avoids the issue.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
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/express≥ 4.0.0 < 4.0.10
4.0.0
4.0.9
4.0.10
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/express
Sin parche — — 4.0.9 afectada
Versiones corregidas4.0.10
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/fastify/fastify-express/security/advisories/GHSA-6rmc-f24g-hmp6

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