CVE-2026-85184
published critical CVSS 3.1 · 9.1@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/middie | — | @fastify/middie9.1.0 to < 9.3.4 (affected · semver) · 9.3.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
@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.
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 | 9.1.0 to < 9.3.4 (affected · semver)9.3.4 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
2Provider assertions
2openjs · cna
@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc7cb577346277b31b673d193ac5cd1a064726b5457a23dcdcdfe7799b676f7b
- Ingested
- 23 Sep 2026, 09:36:40 UTC
- Source record
- Official CVE record