Path Scoping Issue in Fastify Middleware Affects Application Security
CVE-2026-85184

9.1CRITICAL

Key Information:

Vendor
CVE Published:
4 September 2026

What is CVE-2026-85184?

CVE-2026-85184 is a significant vulnerability affecting the Fastify framework, specifically within the Fastify Middie middleware component. Fastify is a popular web framework designed for building scalable server-side applications in Node.js, facilitating the creation of powerful APIs with ease. The vulnerability arises from a path scoping issue where mwidie, versions 9.1.0 through 9.3.4, mistakenly utilizes the raw request target for middleware processing. This mismatch allows an attacker to send requests that bypass essential path-based access control mechanisms. As a result, crucial middleware functions, often responsible for authentication and authorization, are skipped during request handling. Organizations utilizing affected versions of Fastify Middie may inadvertently expose their applications to unauthorized access and malicious exploitation.

Potential impact of CVE-2026-85184

  1. Bypassed Access Control: The primary risk of CVE-2026-85184 is the potential for unauthorized users to gain access to restricted resources, as the vulnerability allows attackers to circumvent authentication and authorization measures integral to application security.

  2. Increased Attack Surface: This vulnerability expands the attack surface for applications built on the Fastify framework, enabling attackers to exploit the flaw to perform unauthorized actions, potentially leading to data breaches and other malicious activities.

  3. Long-term Compliance Risks: Organizations relying on Fastify for mission-critical applications may face significant compliance issues if they fail to address this vulnerability. Non-compliance with data protection regulations can result in legal consequences, financial penalties, and damage to reputation.

Affected Version(s)

@fastify/middie 9.1.0 < 9.3.4

@fastify/middie 9.3.4

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

zer0d4y5
mcollina
UlisesGascon
.