PT-2026-33320

CVE-2026-6270

·

Published

2026-04-16

·

Updated

2026-04-28

Description by

CVSS 3.1
9.1
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @fastify/middie versions prior to 9.3.2
Description Inherited middleware is not registered directly on child plugin engine instances. When authentication middleware is registered in a parent scope and child plugins are registered with @fastify/middie, the child scope fails to inherit the parent middleware. This occurs because middleware paths are incorrectly re-prefixed when propagated to child plugin scopes; if a child plugin is registered with a prefix overlapping a parent-scoped middleware path, the path is modified and fails to match incoming requests. Consequently, security controls such as authentication, authorization, and rate limiting are skipped for all routes defined within affected child and nested grandchild plugin scopes, allowing unauthenticated requests to reach those routes.
Recommendations Upgrade to @fastify/middie version 9.3.2.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-72C6-FX6Q-FR5W
GHSA-HRWM-HGMJ-7P9C
Found an issue in the description? Have something to add? Feel free to write us 👾