Interpretation Conflict Affecting @fastify/middie package, versions >=9.0.0 <9.3.6


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-FASTIFYMIDDIE-21431600
  • published22 Oct 2026
  • disclosed20 Oct 2026
  • creditZachariah Mithani

Introduced: 20 Oct 2026

NewCVE-2026-112712  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade @fastify/middie to version 9.3.6 or higher.

Overview

@fastify/middie is a Middleware engine for Fastify

Affected versions of this package are vulnerable to Interpretation Conflict via incorrect prefix-path joining in the use function, where middleware mount paths are concatenated with the Fastify route prefix using a logic that diverges from Fastify's own route joining rules. An attacker can send requests to paths that should be protected by middleware but are not matched due to the malformed joined path, effectively bypassing middleware-enforced controls such as authentication or authorization.

CVSS Base Scores

version 4.0
version 3.1