PT-2026-151368

CVE-2026-132131

·

Published

2026-11-19

·

Updated

2026-11-19

Description by

CVSS 3.1
7.4
High
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @fastify/middie versions 8.3.0 through 9.3.6
Description An internal helper used to normalize path-scoped middleware mount paths only processes string inputs. However, the use() method accepts an array of mount paths and passes them unchanged, causing the normalization to be skipped. This results in trailing slashes remaining in the route-matching regular expression and root paths being dropped entirely. Consequently, requests to subroutes of these paths may bypass critical middleware such as authentication, authorization, or rate limiting, while the router still dispatches the request to the handler, potentially allowing unauthenticated access to protected routes.
Recommendations Upgrade to version 9.3.7 or later. Enforce authorization in a Fastify hook such as preHandler that runs after routing. Avoid using array mount paths that contain elements ending with a trailing slash for security-relevant middleware.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-HFWP-44M5-9364
Found an issue in the description? Have something to add? Feel free to write us 👾