CVE 7.4 HIGH

@fastify/middie vulnerable to middleware bypass via deprecated ignoreDuplicateSlashes option_CVE-2026-33804

7.4 / 10
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

@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.

Basic Information

ID CVE-2026-33804
Source openjs
Published Apr 16, 2026 at 13:56
Modified Apr 16, 2026 at 14:41

Affected Product

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

CWE Classification

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.