Urgent
@fastify/middie path mismatch lets requests skip auth middleware
CVE-2026-133250
A Fastify web part can be made to skip login checks!
- CVE
- CVE-2026-133250 (opens in a new tab)
- Score
- CVSS 9.1
- First seen
9.1
Products
Mitigation
Update @fastify/middie to 9.3.8 or later.
Summary
In @fastify/middie up to and including 9.3.7, path-scoped middleware can be skipped for some requests, so an unauthenticated attacker can reach handlers meant to be protected. Apps built on the Fastify web framework are affected.
Exploit code is public
Affected when
- An app using path-scoped middleware
- Empty parameter or wildcard values, request paths not starting with a slash, or literal % in a mount path
2 other Incidents of this product in the last 30 days
Incidents by product: @fastify/middie
Other recent Incidents of @fastify/middie
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)
- Repository: googlesky/CVE-2026-133250 (opens in a new tab)