CVE-2026-33808

Impact@fastify/express v4.0.4 and earlier fails to normalize URLs before passing them to Express middleware when Fastify router normalization options are enabled. This allows complete bypass of path-scoped authentication middleware via duplicate slashes when ignoreDuplicateSlashes is enabled, or via semicolon delimiters when useSemicolonDelimiter is enabled. In both cases, Fastify router normalizes the URL and matches the route, but @fastify/express passes the original un-normalized URL to Express middleware, which fails to match and is skipped. An unauthenticated attacker can access protected routes by manipulating the URL path. PatchesUpgrade to @fastify/express v4.0.5 or later.
Configurations

Configuration 1 (hide)

cpe:2.3:a:fastify:fastify\/express:*:*:*:*:*:node.js:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) Impacto: @fastify/express v4.0.4 y anteriores no normaliza las URL antes de pasarlas al middleware de Express cuando las opciones de normalización del router de Fastify están habilitadas. Esto permite una omisión completa del middleware de autenticación con ámbito de ruta a través de barras duplicadas cuando ignoreDuplicateSlashes está habilitado, o a través de delimitadores de punto y coma cuando useSemicolonDelimiter está habilitado. En ambos casos, el router de Fastify normaliza la URL y coincide con la ruta, pero @fastify/express pasa la URL original no normalizada al middleware de Express, que no coincide y es omitido. Un atacante no autenticado puede acceder a rutas protegidas manipulando la ruta de la URL. Parches: Actualice a @fastify/express v4.0.5 o posterior.

Information

Published : 2026-04-15 10:16

Updated : 2026-10-26 22:10


NVD link : CVE-2026-33808

Mitre link : CVE-2026-33808

CVE.ORG link : CVE-2026-33808


JSON object : View

Products Affected

fastify

  • fastify\/express
CWE
CWE-436

Interpretation Conflict