Vulnerability in Fastify @Fastify/express
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 42.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fastify @Fastify/express — versions 0, 4.0.5
- Fastify Fastify\/express
Weakness classification (CWE)
References
- github.com/fastify/fastify-express/security/advisories/GHSA-6hw5-45gm-fj88 (Exploit, Mitigation, Vendor Advisory)
- cna.openjsf.org/security-advisories.html (Vendor Advisory)