Path Authentication Bypass in Fastify/Express Middleware Affects Fastify Implementation
CVE-2026-33808
9.1CRITICAL
What is CVE-2026-33808?
The Fastify/Express middleware in versions v4.0.4 and earlier is susceptible to a vulnerability that permits an unauthenticated attacker to bypass authentication controls. The issue arises from the failure to properly normalize URLs before they are processed by Express middleware, particularly in scenarios where duplicate slashes or semicolon delimiters are involved. When the Fastify router normalization options are enabled, an attacker can exploit this flaw to gain unauthorized access to protected routes. It is crucial for users to upgrade to @fastify/express v4.0.5 or later to mitigate this vulnerability.
Affected Version(s)
@fastify/express 0 < 4.0.5
@fastify/express 4.0.5
References
CVSS V4
Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
FredKSchott
mcollina
UlisesGascon
climba03003
