# CVE-2026-6270: @fastify/middie vulnerable to middleware authentication bypass in child plugin scopes

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-16 · Modified: 2026-04-16
- Aliases: GHSA-72c6-fx6q-fr5w
- Record: https://cvemate.com/vulnerability/CVE-2026-6270 · JSON: https://cvemate.com/vulnerability/CVE-2026-6270/json

## Description

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

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.518%, percentile 45.573%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- fastify fastify\\/middie: \< 9.3.2
- @fastify/middie @fastify/middie: \< 9.3.2
- @fastify middie (Npm): \< 9.3.2

## References

- <https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c>
- <https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w>
- <https://cna.openjsf.org/security-advisories.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6270>
- <https://github.com/fastify/middie>

---

Data as of 2026-12-05T09:39:13.232Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
