@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin…
Historical advisory recorded 25 Oct 2026 14:19:28 UTC. Read the latest advisory.
nvd · CVE-2026-6270
Published@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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-6270
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-436
Original publisher date fields
published: 2026-04-16T14:16:19.433
lastModified: 2026-06-17T11:00:34.460
1 source CPE criteria · context only
- cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON