Rescana Fastify Middleware Bypass Flaws in @fastify/middie and @fastify/express Fixed in 9.3.8 and 4.0.10
Article Content
- •Five Critical (CVSS 9.1) and one High (CVSS 7.4) Fastify plugin CVEs allow middleware to be skipped while route handlers still run.
- •Upgrade @fastify/middie to 9.3.8 or later; upgrade @fastify/express to 4.0.10 or later.
- •Users on @fastify/middie 9.3.7 remain affected by CVE-2026-133250 despite an earlier 18 November security release.
- •CVE-2026-129850 (High) applies only when case-insensitive routing is enabled.
- •No exploitation is reported in the reviewed sources, and none of the six CVEs is in CISA KEV as of 23 November 2026.
On 20 November 2026, Fastify published GitHub security advisories for path-scoped middleware-bypass flaws in @fastify/middie and @fastify/express. OpenJS, as CNA, published matching CVE records on 21 November 2026. In each case the plugin and Fastify's router can disagree on the request path, so middleware mounted for authentication, authorization or rate limiting is skipped while the route handler still runs. OpenJS rates five issues Critical (CVSS 3.1 9.1): CVE-2026-133250 in @fastify/middie, fixed in 9.3.8, and CVE-2026-133120, CVE-2026-129504, CVE-2026-124626 and CVE-2026-133867 in @fastify/express, fixed in 4.0.10. CVE-2026-129850, rated High (CVSS 3.1 7.4), is also fixed in @fastify/express 4.0.10 and applies when case-insensitive routing is enabled. Per Sploitus's description of CVE-2026-124626, versions 4.0.5 through 4.0.9 match dynamic segments requiring a non-empty value, so a request with an empty segment can reach a handler while the scoped middleware is skipped; no special configuration is required. OpenJS states CVE-2026-133867 additionally requires a parameterized plugin prefix and a regular-expression mount. The middie advisory GHSA-gcf6-j9m3-p97x covers all releases through 9.3.7, including 9.3.7 installed after an earlier 18 November middie security release. As of 01:08 EST on 23 November 2026, no source reviewed reports exploitation, and none of the six CVEs is listed in CISA's KEV catalog (version 2026.11.20).
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (3)
Following this threat?
Track CISA and CVE-2026-124626 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Which versions are affected?
Is this being exploited?
What should we do first?
Continue Reading
PHP Security Updates Patch 18 Flaws, Including CVSS 9.2 PHP-FPM Request Smuggling Bug Security updates for PHP addressing 18 vulnerabilities across the core engine, session handling, PHP-FPM, and CGI were released on 19 November 2026, according to CERT-PH. The most critical flaw, CVE-2026-129289, is a PHP-FPM request smuggling vulnerability rated CVSS 9.2, which CERT-PH says may allow unauthenticated…