Elevated
@fastify/middie path-scoped middleware bypass lets unauthenticated clients reach protected routes
CVE-2026-132128 and 2 more
Visitors can slip past login checks and reach protected web pages.
- CVE
- CVE-2026-132128 and 2 more
- Score
- CVSS 7.4 · CVE-2026-132128
- First seen
7.4
Products
Disclosed together @fastify/middie
Mitigation
Update to @fastify/middie 9.3.7 or later. Until then, enforce authorization in a preHandler hook, which runs after routing.
Summary
A flaw in @fastify/middie lets an unauthenticated remote attacker skip path-scoped authentication and authorization middleware and reach protected routes. The same fixed version also fixes array mount-path and duplicate-slash flaws.
Affected when
- CVE-2026-132128 caseSensitive set to false and a protected mount path containing the letter k
- CVE-2026-132131 middleware mounted on an array of paths with an element ending in a slash or equal to the root path
- CVE-2026-132133 ignoreDuplicateSlashes enabled and a middleware mount path containing a duplicate slash
2 other Incidents of this product in the last 30 days
Incidents by product: @fastify/middie
Other recent Incidents of @fastify/middie
3 CVEs (every link below opens in a new tab)
Read the CVE record · cve.org (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-132128A letter case mismatch lets attackers reach protected paths without authentication or authorization checks. CVSS 7.4
- CVE-2026-132131Array mount paths ending in a slash or the root path let attackers skip protection checks. CVSS 7.4
- CVE-2026-132133Duplicate slash handling differences let attackers skip protection checks on protected paths. CVSS 4.8