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

GHSA-F44M-4QWG-5587

@fastify/express vulnerable to path-scoped middleware bypass via prefix and mount path join mismatch

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

Sin parche publicado
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: 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 estimadaAtender
Priorizar en el próximo ciclo de cambios
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, automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Revisa si el servicio da a internet. Si sí: corre.Esto huele a fin de semana trabajando si lo ignoras.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
01:01 p. m.
05:08 p. m.
01:01 p. m.
08:03 p. m.
03:04 a. m.
10:06 a. m.
05:08 p. m.
FechaFaseEventoDetalle
Divulgación Publicada GHSA-F44M-4QWG-5587 divulgada · CVSS 9.1 (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

`@fastify/express` joins a path-scoped middleware's mount path to the Fastify plugin prefix by string concatenation. When the plugin prefix ends with a slash, or the mount path passed to `use()` omits its leading slash, the resulting Express mount path does not line up with the route the Fastify router serves. Express fails to match and calls the next handler, while the Fastify router still dispatches the route, so the middleware is silently skipped.

Applications that use path-scoped Express middleware for authentication or authorization inside prefixed Fastify plugins can expose protected routes to unauthenticated clients. No non-default option is required, and the request needs no crafting. String, array, and RegExp mount paths are all affected.

Patches

Patched in `@fastify/express` 4.0.10.

Workarounds

Write the mount path so it lines up with the served route: give the mount path a leading slash and do not end the plugin prefix with a slash, so the two join cleanly (for example a `/api` prefix with `use('/secret', ...)` yields `/api/secret`).

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: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/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-f44m-4qwg-5587

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