๐Ÿ” CVE Alert

CVE-2026-6270

CRITICAL 9.1

@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

@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.

CWE CWE-436
Vendor @fastify/middie
Product @fastify/middie
Published Apr 16, 2026
Last Updated Apr 16, 2026
Stay Ahead of the Next One

Get instant alerts for @fastify/middie @fastify/middie

Be the first to know when new critical vulnerabilities affecting @fastify/middie @fastify/middie are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

@fastify/middie / @fastify/middie
0 < 9.3.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c github.com: https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” FredKSchott climba03003 UlisesGascon