CVE 9.1 CRITICAL

@fastify/express vulnerable to middleware authentication bypass via URL normalization gaps (duplicate slashes and semicolons)_CVE-2026-33808

9.1 / 10
CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

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.

AI Analysis

Middleware authentication bypass via URL normalization gaps

Basic Information

ID CVE-2026-33808
Source openjs
Published Apr 15, 2026 at 09:29

Affected Product

Vendor fastify
Product @fastify/express
Affected Versions fastify @fastify/express 0

CWE Classification

AI Assessment

AI Score 9.1 / 10
AI Severity Critical
Vendor Fastify
Product @fastify/express
Version v4.0.4 and earlier

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.