Skip to main content
← All vulnerabilities
CVE-2026-6270GHSA-72C6-FX6Q-FR5W

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • @fastify/middie @fastify/middie

    fixed in 9.3.2

  • @fastify/middienpm

    fixed in 9.3.2

References 3

GitHub · fastify/fastify-express

GitHub · fastify/middie

cna.openjsf.org