CVE Explorer
CVE-2026-6270
@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 issu
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/@fastify/middie","product":"@fastify/middie","vendor":"@fastify/middie","versions":[{"lessThan":"9.3.2","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"9.3.2","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:caf2e9e87ba9d76f869644bef217f60913efd0d2c254611d9cfb8999b9907c8c · sha256:44541b6cd2088cf1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":9.1,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:caf2e9e87ba9d76f869644bef217f60913efd0d2c254611d9cfb8999b9907c8c · sha256:44541b6cd2088cf1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-436","description":"CWE-436: Interpretation Conflict","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:caf2e9e87ba9d76f869644bef217f60913efd0d2c254611d9cfb8999b9907c8c · sha256:44541b6cd2088cf1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:caf2e9e87ba9d76f869644bef217f60913efd0d2c254611d9cfb8999b9907c8c · sha256:44541b6cd2088cf1… · /containers/cna/references/2
{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:caf2e9e87ba9d76f869644bef217f60913efd0d2c254611d9cfb8999b9907c8c · sha256:44541b6cd2088cf1… · /containers/cna/references/0
{"url":"https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:caf2e9e87ba9d76f869644bef217f60913efd0d2c254611d9cfb8999b9907c8c · sha256:44541b6cd2088cf1… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.