CVE-2026-133120: Five Fastify Flaws Let Attackers Skip Auth

Five critical flaws published on 21 November 2026 in two Fastify middleware packages could let an unauthenticated attacker walk past login checks on affected web applications. All five carry a severity score of 9.1 out of 10, all were assigned by the OpenJS Foundation, and fixes are already available: @fastify/express 4.0.10 and @fastify/middie 9.3.8. No exploitation has been reported for any of them, and none appears in CISA's Known Exploited Vulnerabilities catalogue.
Fastify is a web framework for Node.js. @fastify/express is the compatibility layer that lets Express middleware run inside Fastify, and @fastify/middie is the middleware engine that adds Express and Connect style middleware support. Both let developers attach middleware, such as authentication, authorisation or rate limiting, to specific paths, so that only requests to those paths are checked.
The shared weakness: two views of the same path
All five flaws share the same shape. Fastify's router and its middleware layer can disagree about which path a request is asking for. The router resolves the request to a protected route and runs its handler, while the middleware that was supposed to guard that route never matches and is silently skipped. The attacker needs no login, no special configuration and no user interaction: a single crafted request is enough.
The four @fastify/express flaws are CVE-2026-133120, a bypass via request URL decoding and normalisation mismatches; CVE-2026-129504, a bypass via a prefix and mount path join mismatch, affecting @fastify/express versions from 4.0.0 up to, but not including, 4.0.10; CVE-2026-124626, a bypass via empty route parameters and wildcards; and CVE-2026-133867, a bypass via regular-expression mount paths under parameterised prefixes. The fifth, CVE-2026-133250, is in @fastify/middie: a bypass via request path matching mismatches, affecting middie versions below 9.3.8. CVE-2026-133120 affects @fastify/express versions below 4.0.10.
In each case the practical result is the same. Middleware that performs authentication, authorisation, rate limiting or logging on a protected route is skipped, while the route's own handler still runs. An unauthenticated client can therefore reach admin pages, private APIs or other guarded handlers that were meant to be reachable only after a login check.
A familiar pattern, and the fix
The flaws are the latest round in a run of similar findings in Fastify's middleware handling. Earlier in November, three @fastify/middie flaws of the same kind were fixed in version 9.3.7, and an @fastify/express flaw involving absolute-form request targets was fixed in 4.0.9. The new batch shows the same class of mismatch turning up in several different corners of the path-matching code, which is why the maintainers addressed them together.
The fix is to upgrade: @fastify/express to 4.0.10 or later, and @fastify/middie to 9.3.8 or later. The advisories also describe a workaround for applications that cannot upgrade immediately: enforce authorisation in a Fastify hook such as preHandler, which runs after the router has resolved the request, rather than relying only on path-scoped middleware.
Teams should check which version of each package their applications use, including copies bundled inside frameworks and platforms built on Fastify, and upgrade the affected ones. Because the flaws are unauthenticated and the fixes are available, the priority is the internet-facing services first, followed by internal applications that share the same middleware pattern. With no exploitation reported so far, patching now is a chance to close the hole before it is used rather than after.