CVE-2026-6270: @fastify/middie vulnerable to middleware authentication bypass in child plugin scopes
Vulnerability summary
CVE-2026-6270 is a critical (CVSS 9.1) Interpretation Conflict vulnerability in fastify fastify\/middie. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 45.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 16-04-2026PublishedVulnerability first disclosed.
- 16-04-2026Last modifiedVulnerability information updated.
Description
@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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundFastify Express
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
@fastify1 product
- middie< 9.3.2
@fastify/middie1 product
- @fastify/middie< 9.3.2
Fastify1 product
- fastify\/middie< 9.3.2
3 vendors · 3 products
References
5 links- github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9cWEBExploitMitigationVendor Advisory
- github.com/fastify/middiePACKAGE