# CVE-2026-85184: @fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-09-04 · Modified: 2026-09-04
- Record: https://cvemate.com/vulnerability/CVE-2026-85184 · JSON: https://cvemate.com/vulnerability/CVE-2026-85184/json

## Description

```text
@fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later.
```

## 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.316%, percentile 26.415%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fastify fastify\\/middie: ≥ 9.1.0, \< 9.3.4
- @fastify/middie @fastify/middie: ≥ 9.1.0, \< 9.3.4

## References

- <https://github.com/fastify/middie/security/advisories/GHSA-hx87-8wv7-pjv8>
- <https://cna.openjsf.org/security-advisories.html>

---

Data as of 2026-12-05T09:19:51.174Z. 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
