CVE-2026-14198
Last modified
CVE-2026-14198 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. @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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify\/Middie | >= 9.1.0, < 9.3.3 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
- https://github.com/fastify/middie/security/advisories/GHSA-2v46-jxjm-7q3vMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-14198?
How severe is CVE-2026-14198?
How do I fix CVE-2026-14198?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-14192Improper neutralization of input during web page generation …5.4
- CVE-2026-14193DVP80ES300T with Improper Validation of Array Index Vulnerab…7.5
- CVE-2026-14194Improper Limitation of a Pathname to a Restricted Directory …6.5
- CVE-2026-14195The Brizy WordPress plugin before 2.8.18 does not properly …2.7
- CVE-2026-14196The WCFM Marketplace WordPress plugin before 3.8.1 does not…4.3
- CVE-2026-14197The Fluent Support WordPress plugin before 2.3.1 does not p…3.8
- CVE-2026-1420A flaw has been found in Tenda AC23 16.03.07.52. This impact…9.8
- CVE-2026-14202Observable response discrepancy vulnerability in Bilin Softw…5.3
- CVE-2026-14203The Smart Manager WordPress plugin before 8.92.0 does not p…4.8
- CVE-2026-14204The Google Authenticator WordPress plugin before 0.56 does n…6.5
- CVE-2026-14205The WP Events Manager WordPress plugin before 2.2.5 does not…9.8
- CVE-2026-14206The HT Contact Form WordPress plugin before 2.9.3 does not …7.5
Are you affected by CVE-2026-14198?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
