llamaCVEVulnerability Intelligence
/
@fastify/express

CVE-2026-6556

@fastify/express vulnerable to middleware bypass via non-string mount paths in prefixed plugins

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

UnclearParche disponibleauthorization bypass
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 el mismo día de la divulgación
Exposición144 dDesde la divulgación, 30 jun 2026, 7:48 a. m.
Detección139 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.
Esto me da escalofríos… y tengo abrigo natural.Mi radar llamuno marca riesgo alto. Confía.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 4.0.7
Monitoreo
Detectada
Fuente: OSV +1
30 jun 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
Divulgación Publicada CVE-2026-6556 divulgada · CVSS 9.1 (CNA)
Remediación Parche 4.0.7 @fastify/express · 0 d desde divulgación
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/express versions 4.0.6 and earlier only rewrite the plugin prefix for middleware mount paths when the path argument is a string. Non-string mount paths (arrays of paths and regular expressions) are left unprefixed inside prefixed plugin scopes, so middleware registered with those forms does not match the actual prefixed request path. Applications that use path-scoped middleware for authentication, authorization, rate limiting, or auditing on routes inside a prefixed scope can be bypassed by sending a request to the prefixed route, because Fastify still matches the route but the middleware is skipped. Patches: upgrade to @fastify/express 4.0.7. Workarounds: use string mount paths instead of arrays or regular expressions in prefixed plugins, or register one use call per path.

Only affects @fastify/express before 4.0.7 when path-scoped middleware is mounted with use() using an array or RegExp path inside a Fastify prefixed plugin. Fixed in 4.0.7.

¿Qué significa?Path-scoped authentication or authorization middleware can be silently skipped inside prefixed Fastify plugins. As a result, protected routes can be reachable by unauthenticated clients.
¿Quién está afectado?Versions before 4.0.7 are affected when use() is called with an array or RegExp path in a Fastify prefixed plugin. To check the installed version, run npm ls @fastify/express in the project directory.
¿Qué hacer?Upgrade @fastify/express to 4.0.7 or later.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Path-scoped middleware is mounted with use() using an array or RegExp path inside a Fastify prefixed plugin“When use() is called with an array or RegExp path in a prefixed plugin”
¿Quién debe revisar?Teams running @fastify/express 4.0.6 or earlier with path-scoped Express middleware for auth, authorization or rate limiting inside prefixed Fastify plugins.
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/express≤ 4.0.6
@fastify/express< 4.0.7
4.0.6
4.0.7
4.0.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/express
Corregida 4.0.7 0 d 4.0.9 no afectada
Versiones corregidas4.0.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/fastify-express/security/advisories/GHSA-3wf5-7852-vcfq
Otrahttps://cna.openjsf.org/security-advisories.html

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