Skip to content

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

CriticalCVSS 9.1 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
fastify @fastify/express < 4.0.5 4.0.5 Fixed
fastify @fastify/express(npm) < 4.0.5; <= 4.0.4 4.0.5 Fixed

Affected products

ProductAffected versionsFixed in
fastify @fastify/express < 4.0.5 4.0.5
fastify @fastify/express(npm) <= 4.0.4 No fix listed
fastify @fastify/express(npm) < 4.0.5 4.0.5

References