← Terug naar overzicht

A security vulnerability exists in @fastify/middie versions >= 9.1.0 and before 9.3.4 that allows unauthenticated attackers to bypass path-based access controls. The flaw arises because the middleware matches against raw request targets while the Fastify router resolves absolute-form request targets to their paths before dispatching. This mismatch means requests using absolute-form targets reach route handlers while skipping path-scoped middleware such as authentication and authorization checks. An unauthenticated network attacker can exploit this to circumvent access controls in Fastify applications relying on middie for security enforcement. The vulnerability poses a significant risk to applications using affected versions for access control. The fix is available in @fastify/middie version 9.3.4 or later, and users are strongly advised to upgrade immediately.

Affected products

  • '@fastify/middie

Related CVE's

  • CVE-2026-85184

Categories

  • Identity & Access
  • Supply Chain & Dependencies
  • Web Technologies