QSearchQSearch

CVE-2026-33808

9.1 CRITICAL

Impact@fastify/express v4.0.4 and earlier fails to normalize URLs before passing them to Express middleware when Fastify router normaliza...

Published: 2026-04-15 · Last updated: 2026-06-01

Severity and scoring

CVSS
9.1 CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CWE
CWE-436

Affected products

VendorProduct
fastifyfastify\/express

Description

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.

Source: NVD

References

Related CVEs

Same vendor

  • CVE-2026-7768 @fastify/accepts-serializer cached serializer-selection results keyed by the request Accept header without a size limit or eviction policy (7.5 HIGH)
  • CVE-2026-33805 @fastify/reply-from v12.6.1 and earlier and @fastify/http-proxy v11.4.3 and earlier process the client's Connection header after the prox... (8.6 HIGH)
  • CVE-2026-33807 @fastify/express v4.0.4 and earlier contains a path handling bug in the onRegister function that causes middleware paths to be doubled wh... (9.1 CRITICAL)

Same CWE

  • CVE-2026-42462 Fedify is a TypeScript library for building federated server apps powered by ActivityPub (7.0 HIGH)
  • CVE-2026-47344 When ALLOW_INSECURE_RAW_TEXT is enabled, whitespace-variant closing tags (e.g., </style\t>) are not recognized by the sanitizer but accep...
  • CVE-2026-40930 LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files (5.4 MEDIUM)
  • CVE-2026-47076 Interpretation Conflict vulnerability in benoitc hackney allows Server Side Request Forgery (6.5 MEDIUM)
  • CVE-2026-40165 authentik is an open-source identity provider (8.7 HIGH)