Middleware Inheritance Issue in Fastify Plugins by Fastify
CVE-2026-6270

9.1CRITICAL

Key Information:

Vendor
CVE Published:
16 April 2026

What is CVE-2026-6270?

@fastify/middie versions 9.3.1 and earlier are susceptible to a vulnerability that prevents inherited middleware from being registered on child plugin instances. This flaw occurs when an authentication middleware is registered in a parent scope, but child plugins fail to inherit this middleware, allowing unauthenticated requests to bypass necessary authentication and authorization checks in child plugin routes. Upgrading to @fastify/middie version 9.3.2 is essential to resolve this issue, as there are currently no available workarounds.

Affected Version(s)

@fastify/middie 0 < 9.3.2

@fastify/middie 9.3.2

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

FredKSchott
climba03003
UlisesGascon
.