CVE-2026-85184 json
@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
published 2mo ago modified last mo. also EUVD-2026-70979 , GHSA-hx87-8wv7-pjv8
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository fastify/middie. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @fastify/middie 9.3.4
- @fastify/middie @fastify/middie 9.3.4
Is CVE-2026-85184 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @fastify/middie | >=9.1.0, <9.3.4 |
9.3.4 |
Affected products
- @fastify/middie @fastify/middie
Classification
- Weakness
-
- CWE-436 Interpretation Conflict
References
-
github.com
/fastify/middie/security/advisories/GHSA-hx87-8wv7-pjv8
mitigation, vendor-advisory, advisory
-
cna.openjsf.org
/security-advisories.html
third-party-advisory
Sources
- CVE List CVE-2026-85184
- NVD CVE-2026-85184
- Maintainer advisory GHSA-hx87-8wv7-pjv8
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of fastify/middie published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.