Live threats

All CVEs / Fastify

CVE-2026-6270Fastify/middie

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Apr 16, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-436
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify/middie.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @fastify/middie < 9.3.2 9.3.2 npm install @fastify/middie@9.3.2

Per OSV / GitHub Advisories (GHSA-72c6-fx6q-fr5w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastifyfastify/middie< 9.3.2

Official sources

References

Links published by the sources. Open them with care.