Skip to content
Fastify Middleware Bypass Flaws in @fastify/middie and @fastify/express Fixed in 9.3.8 and 4.0.10

Fastify Middleware Bypass Flaws in @fastify/middie and @fastify/express Fixed in 9.3.8 and 4.0.10

First seen 23 Nov 2026, 11:16 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 23, 2026 at 11:17 UTC
  • •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).

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated just now How this analysis works

Timeline

2026-11-20
Fastify publishes middie and express security advisories
GitHub advisories were published for path-scoped middleware-bypass flaws; GHSA-gcf6-j9m3-p97x was published at 13:14 EST and the 4.0.10 release at 13:00 EST.
Rescana
2026-11-21
OpenJS publishes CVE records for the Fastify plugin flaws
CVE-2026-133250, CVE-2026-124626, CVE-2026-133867, CVE-2026-129850, CVE-2026-133120 and CVE-2026-129504 were published by OpenJS as CNA.
Rescana
2026-11-21
Sploitus lists CVE-2026-124626 with technical description
Sploitus describes the empty-segment matcher mismatch affecting @fastify/express 4.0.5 through 4.0.9, fixed in 4.0.10.
Sploitus
2026-11-21
CVE-2026-133250 published
Vulnerability assigned a CVE identifier and published in the National Vulnerability Database.
MITRE
2026-11-21
CVE-2026-133867 published
Vulnerability assigned a CVE identifier and published in the National Vulnerability Database.
MITRE
2026-11-21
CVE-2026-129850 published
Vulnerability assigned a CVE identifier and published in the National Vulnerability Database.
MITRE
2026-11-21
CVE-2026-133120 published
Vulnerability assigned a CVE identifier and published in the National Vulnerability Database.
MITRE
2026-11-21
CVE-2026-129504 published
Vulnerability assigned a CVE identifier and published in the National Vulnerability Database.
MITRE

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?
@fastify/middie through 9.3.7 is affected by CVE-2026-133250, and @fastify/express versions before 4.0.10 are affected by the listed express CVEs; CVE-2026-124626 affects 4.0.5 through 4.0.9 per Sploitus.
Is this being exploited?
No exploitation is reported in the reviewed sources, and none of the six CVEs is listed in CISA's KEV catalog as of 23 November 2026.
What should we do first?
Upgrade @fastify/middie to 9.3.8 or later and @fastify/express to 4.0.10 or later, prioritizing applications that protect routes with authentication or authorization middleware.