๐Ÿ” CVE Alert

CVE-2026-133250

CRITICAL 9.1

@fastify/middie vulnerable to path-scoped middleware bypass via request path matching mismatches

CVSS Score
9.1
EPSS Score
0.7%
EPSS Percentile
52th

@fastify/middie is the middleware engine for the Fastify web framework. In versions up to and including 9.3.7, middie matches path-scoped middleware against its own reading of the request path, which can differ from the path Fastify's router uses to dispatch the request. When the two disagree, the router can route a request to a handler covered by a middleware mount while middie skips that middleware, so an unauthenticated client reaches a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The mismatch is triggered by empty parameter or wildcard values, request targets that do not begin with a slash, and literal percent characters in a mount path. The issue is fixed in @fastify/middie 9.3.8, and users should upgrade to 9.3.8 or later.

CWE CWE-288 CWE-436
Vendor @fastify/middie
Product @fastify/middie
Published Nov 21, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for @fastify/middie @fastify/middie

Be the first to know when new critical vulnerabilities affecting @fastify/middie @fastify/middie are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

@fastify/middie / @fastify/middie
0 < 9.3.8

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/middie/security/advisories/GHSA-gcf6-j9m3-p97x cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

mcollina UlisesGascon