CVE-2026-85184

CRITICAL CVSS 3.1: 9.1 EPSS 0.52%
Updated Sep 15, 2026
Fastify
Parameter Value
CVSS 9.1 (CRITICAL)
Affected Versions 9.1.0 — 9.3.4
Fixed In 9.3.4
Type CWE-436
Vendor Fastify
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Fastify Fastify\/Middie
cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:*
9.1.0 9.3.4