CVE-2026-33804
Published:April 16, 2026
Updated:April 23, 2026
@fastify/middie versions 9.3.1 and earlier are vulnerable to middleware bypass when the deprecated Fastify ignoreDuplicateSlashes option is enabled. The middleware path matching logic does not account for duplicate slash normalization performed by Fastify's router, allowing requests with duplicate slashes to bypass middleware authentication and authorization checks. This only affects applications using the deprecated ignoreDuplicateSlashes option. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds other than disabling the ignoreDuplicateSlashes option.
Affected Packages
https://github.com/fastify/middie.git (GITHUB):
Affected version(s) >=v0.2.0 <v9.3.2Fix Suggestion:
Update to version v9.3.2@fastify/middie (NPM):
Affected version(s) >=8.0.0 <9.3.2Fix Suggestion:
Update to version 9.3.2@fastify/middie (NPM):
Affected version(s) >=8.0.0 <9.3.2Fix Suggestion:
Update to version 9.3.2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Interpretation Conflict
EPSS
Base Score:
0.05