TJEH / CVE reading sheet
CVE-2026-132131
The available vulnerability information, collected from NVD and presented by TJEH.
View the official NVD record (new tab)Highest published CVSS score
7.4 / 10
Scores may come from the assigning authority or NIST and can change.
- Published
- 19 Nov 2026, 13:18
- NVD update
- 23 Nov 2026, 17:17
- Last collected by TJEH
- 23 Nov 2026, 19:32
Times shown in Paris time.
In plain language
Raw watch record
This record has not yet been explained by TJEH. It shows the source information as published.
What the source reports
Source description as published by NVD
@fastify/middie is the middleware engine that adds Express and Connect style middleware support to Fastify. In versions 8.3.0 through 9.3.6, the internal helper that normalizes a path-scoped middleware's mount path only handles string inputs, but the use method also accepts an array of mount paths and passes it through unchanged, so the normalization silently does nothing. As a result, a trailing slash on an array element survives into the generated route-matching regular expression, and an element that is exactly the root path, meaning a catch-all mount, is dropped entirely. Requests to subroutes of the affected mount paths then skip the path-scoped middleware, such as authentication, authorization, or rate limiting, while Fastify's router still dispatches them to the handler, allowing an unauthenticated client to reach protected routes. Applications are affected when they mount middleware on an array of paths in which an element ends with a slash, including one introduced by a plugin prefix that ends with a slash, or is exactly the root path. The issue is fixed in @fastify/middie 9.3.7, and users should upgrade to 9.3.7 or later. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after routing, and avoid array mount paths with a trailing slash element for security relevant middleware.
Fix and what to do
No verified fix here yet
Check whether your product and version are affected, then follow the publisher’s advisory to update. A published fix does not mean it has been installed on your systems.
Published CVSS metrics
CVSS 3.1 · 7.4/10
ce714d77-add3-4f53-aff5-83d477b104bb
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Reported weaknesses : CWE-1287