Summary
CVE-2026-133867 is a path-scoped middleware bypass in @fastify/express. It was published to NVD on November 21, 2026 with a CVSS score of 9.1.
Details
In versions 4.0.7 through 4.0.9, the plugin does not rewrite regular-expression mount paths to account for a parameterized plugin prefix. When middleware is mounted with a regular expression under such a prefix, requests can reach the route without the middleware running. An unauthenticated attacker can use this to get around authentication, authorization or rate limiting.
| Item | Detail |
|---|---|
| CVE | CVE-2026-133867 |
| Advisory | GHSA-84w6-xrf3-f8q8 |
| CVSS | 9.1 (critical) |
| Package | @fastify/express |
| Affected | 4.0.7 through 4.0.9 |
| Fixed | 4.0.10 |
| Exploitation | Not confirmed in the sources reviewed |
It is one of five bypasses fixed in 4.0.10, with CVE-2026-124626, CVE-2026-129504, CVE-2026-133120 and CVE-2026-129850. The @fastify/middie package has a related flaw, CVE-2026-133250.
Recommended actions
- Upgrade with
npm install @fastify/express@^4.0.10. - Search your code for
@fastify/expressregistered with a parameterized prefix (for example/tenant/:id) and middleware mounted with a regular expression. - Until patched, enforce access control inside route handlers or Fastify hooks.