CVE-2026-14198: Vulnerability in fastify\/middie

Critical. @fastify/middie versions 9.1.0 through 9.3.2 decode the encoded slash %2F inside path parameter values before matching middleware paths, while Fastify's underlying router preserves the encoding during route lookup. The two layers disagree on the canonical request path, so the middleware fails to match a URL that the route handler does match. When middleware is used for authentication, authorization, rate...

CWE-436

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-436
Published
1 Jul 2026
Last change
2 Jul 2026

Affected products

Affected versions and the first fixed release

  • fastify\/middie From 9.1.0 before 9.3.3. Fixed in 9.3.3

Advisories

Vendor and security advisories

Related