CVE-2026-6270 Details
Description
@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin engine instances. When a Fastify application registers authentication middleware in a parent scope and then registers child plugins with @fastify/middie, the child scope does not inherit the parent middleware. This allows unauthenticated requests to reach routes defined in child plugin scopes, bypassing authentication and authorization checks. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds.
A vulnerability exists in @fastify/middie versions through 9.3.1, where inherited middleware is not properly registered on child plugin instances. This issue allows unauthenticated requests to access routes in child plugins that should be protected by parent-scoped authentication middleware. The vulnerability arises because the middleware paths are incorrectly modified when passed to child plugins, causing the authentication checks to be bypassed. As a result, security controls such as authentication, authorization, and rate limiting are not enforced on affected routes.
Upgrade to @fastify/middie version 9.3.2 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Vendor Advisory |
| https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c | openjs | ExploitMitigationVendor Advisory |
| https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w | openjs | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-436 | Interpretation Conflict | openjs |
Affected Products
| Product | Versions |
|---|---|
| fastify fastify/middie | < 9.3.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | openjs |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2026 | CPE Deprecation Remap | [email protected] |
| Apr 22, 2026 | Initial Analysis | [email protected] |
| Apr 16, 2026 | New CVE Received | openjs |