CVE-2026-14198: fastify fastify\/middie Interpretation Conflict
Vulnerability summary
CVE-2026-14198 is a critical (CVSS 9.1) Interpretation Conflict vulnerability in fastify fastify\/middie. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 42.8% of scored vulnerabilities.
Timeline
- 01-07-2026PublishedVulnerability first disclosed.
- 01-07-2026Last modifiedVulnerability information updated.
Description
@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 limiting, or auditing on parameterized paths, an attacker can reach the protected handler by sending a single crafted URL with an encoded slash in the parameter position. The bypass is HTTP method agnostic and requires no authentication or special preconditions. Patches: upgrade to @fastify/middie 9.3.3. Workarounds: avoid parameterized middleware paths for security decisions, or enforce authentication at the route handler or via a Fastify hook that runs after the router has resolved the request.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
0.00 pp
From 0.52% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@fastify/middie1 product
- @fastify/middie≥ 9.1.0, < 9.3.3
Fastify1 product
- fastify\/middie≥ 9.1.0, < 9.3.3
2 vendors · 2 products
References
2 links- cna.openjsf.org/security-advisories.htmlVendor Advisory