Fastify published its advisory on 20 November 2026 and lists versions before 9.3.8 as affected. The issue matters when an application relies on path-scoped middleware to guard a route.Fastify says a remote unauthenticated client can reach a handler while authentication, authorization, or rate-limiting middleware is skipped. NVD records a CVSS 3.1 score of 9.1, rated Critical. The actual impact depends on the handler and the controls the application put in middleware.
What it allows
How Does CVE-2026-133250 Bypass Authentication?
Fastify's router and middie can read the same request path differently. The router can select a handler covered by a middleware mount while middie decides the mount does not match. The handler then runs without the intended middleware control.
Fastify identifies three mismatch classes: empty route parameter or wildcard values, unusual request targets, and literal percent characters in a mount path. Parameterized paths and plugin prefixes can be affected. The advisory says no special configuration is required for the mismatch.
Our defensive reading is to inspect where each access decision runs, rather than relying on the route declaration alone. The Vulnerability Intelligence platform provides product context for prioritizing affected deployments. For another Fastify plugin issue, see the Fastify Express middleware bypass profile.
What Is Known About Exploitation?
CISA's KEV catalog version 2026.11.20 does not list CVE-2026-133250. That dated catalog status does not establish whether exploitation has occurred. The vendor describes a network-reachable bypass with no required privileges or user interaction, so exposed routes merit prompt review.
Who is affected
Which @fastify/middie Versions Are Affected?
Fastify lists every @fastify/middie release before 9.3.8 as affected and 9.3.8 as patched. The advisory does not give a lower version bound suitable for an automated range check. Check both the dependency lockfile and the version loaded by each running application.
- Affected.
- @fastify/middie before 9.3.8.
- Patched.
- 9.3.8 or later.
Exposure depends on path-scoped middie middleware protecting a Fastify handler. Inventory authentication, authorization, and rate limits implemented through those mounts. Give priority to reachable routes whose sensitive actions rely on that middleware.
How Should Teams Fix and Verify CVE-2026-133250?
Upgrade @fastify/middie to 9.3.8 or later, then confirm the running process loads the patched version. Retest protected routes with authorized and unauthenticated requests, and verify the expected control runs before the handler. Record the deployed version and access-control result in the patch management process.
If an immediate upgrade is unavailable, Fastify recommends enforcing authentication in a Fastify hook after route resolution. Base the decision on the matched route, not the raw request path. Validate this temporary control against the application's protected routes while preparing the vendor fix.
If route and authorization logs are available, review protected handler executions for missing expected middleware decisions. This is our suggested verification step, not evidence that this CVE has been exploited.
Timeline
-
2026-11-20
Fastify published GHSA-gcf6-j9m3-p97x and identified @fastify/middie 9.3.8 as the patched release.
-
2026-11-21
NVD published CVE-2026-133250 with a CVSS 3.1 score of 9.1.
What to do
-
Inventory affected deployments
Find running applications with @fastify/middie before 9.3.8 and identify protected routes that depend on path-scoped middleware.
-
Apply the vendor fix
Upgrade @fastify/middie to 9.3.8 or later, starting with reachable applications whose access controls depend on scoped middleware.
-
Verify the running version and controls
Confirm the deployed process loads 9.3.8 or later. Retest protected handlers with authorized and unauthenticated requests and check that middleware runs.
-
Use the vendor workaround if needed
Fastify recommends a post-routing authentication hook based on the matched route. Validate it while preparing the upgrade.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-133250 in Brandefense Atlas
The Atlas record of CVE-2026-133250: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What causes CVE-2026-133250?
Fastify's router and middie can interpret the same path differently. The router can dispatch a protected handler while path-scoped middleware skips the request.
Which @fastify/middie versions need an update?
Fastify lists versions before 9.3.8 as affected. Upgrade to 9.3.8 or later and confirm the version loaded by the running application.
Is every Fastify application affected?
The bypass concerns applications that use path-scoped middie middleware to protect handlers. Impact depends on the protected route and its application logic.
What workaround does Fastify recommend?
Fastify recommends authentication in a hook after route resolution, using the matched route for the decision. The vendor fix is @fastify/middie 9.3.8 or later.