BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-6270 in Fastify/Middie

Critical 9.1

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
EPSS0.6%
EPSS percentile45th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Fastify Fastify/Middie < 9.3.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-6270
BreachSpider IDBS-2026-GLOBAL-272341-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2026-04-16
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-436: CWE-436

Related attack patterns (CAPEC)

CAPEC-34 HTTP Response Splitting via CWE-436

CAPEC-105 HTTP Request Splitting via CWE-436

CAPEC-273 HTTP Response Smuggling via CWE-436

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-6270 affects @fastify/middie versions 9.3.1 and earlier, where inherited middleware is not registered on child plugin engine instances, leading to unauthenticated access to routes in child scopes.

An attacker can exploit this vulnerability by sending unauthenticated requests to routes defined in child plugin scopes, bypassing the intended authentication middleware set in the parent scope.

Questions

What is CVE-2026-6270?

CVE-2026-6270 affects @fastify/middie versions 9.3.1 and earlier, where inherited middleware is not registered on child plugin engine instances, leading to unauthenticated access to routes in child scopes.

What is the CVSS score for CVE-2026-6270?

CVE-2026-6270 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.6%.

Is CVE-2026-6270 actively exploited?

No confirmed active exploitation of CVE-2026-6270 as of 2026-09-25.

How do I remediate CVE-2026-6270?

Priority: IMMEDIATE.

What systems are affected by CVE-2026-6270?

CVE-2026-6270 affects Fastify Fastify/Middie.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fastify","product":"Fastify/Middie","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.