CVE-2026-133250: Vulnerability in @fastify/middie

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

CWE-288, CWE-436

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-288, CWE-436
Published
21 Nov 2026
Last change
23 Nov 2026

Affected products

Affected versions and the first fixed release

  • @fastify/middie Before 9.3.8. Fixed in 9.3.8

Advisories

Vendor and security advisories

Related