CVE-2026-6270
published critical CVSS 3.1 · 9.1@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/middie | — | @fastify/middie0 to < 9.3.2 (affected · semver) · 9.3.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/middie | @fastify/middie | 0 to < 9.3.2 (affected · semver)9.3.2 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
3Provider assertions
2openjs · cna
@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ded32131537adbac2138ce06b092beed13b49ad2d80a1e9a744014f15b3d2eb8
- Ingested
- 23 Sep 2026, 09:28:24 UTC
- Source record
- Official CVE record