CVE-2026-112712
Last modified
CVE-2026-112712 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. @fastify/middie is the Express-style middleware engine for Fastify. In versions from 9.0.0 through 9.3.5, the use() function joined a path-scoped middleware's mount path to the plugin scope prefix in a way that could diverge from the path Fastify's router serves, most often when the scope prefix ended in a slash, and also for array mount paths and for mount paths written without a leading slash. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
@fastify/middie is the Express-style middleware engine for Fastify. In versions from 9.0.0 through 9.3.5, the use() function joined a path-scoped middleware's mount path to the plugin scope prefix in a way that could diverge from the path Fastify's router serves, most often when the scope prefix ended in a slash, and also for array mount paths and for mount paths written without a leading slash. When the two paths disagreed, the middleware was silently skipped while the route handler still ran, so path-scoped middleware such as authentication, authorization, or rate limiting could be bypassed by a single unauthenticated request. The issue is fixed in @fastify/middie 9.3.6, and users should upgrade to 9.3.6 or later. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after the router has resolved the request.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| @fastify/middie | @fastify/middie | >= 9.0.0, < 9.3.6 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-112712?
How severe is CVE-2026-112712?
How do I fix CVE-2026-112712?
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-11267Insufficient policy enforcement in Extensions in Google Chro…4.3
- CVE-2026-11268Uninitialized Use in ANGLE in Google Chrome on Windows prior…6.5
- CVE-2026-11269Inappropriate implementation in Extensions in Google Chrome …7.1
- CVE-2026-1127The Timeline Event History plugin for WordPress is vulnerabl…6.1
- CVE-2026-11270Inappropriate implementation in UI in Google Chrome on Andro…6.5
- CVE-2026-11271Inappropriate implementation in Passwords in Google Chrome p…6.5
- CVE-2026-11272Insufficient validation of untrusted input in Reading List i…8.8
- CVE-2026-11273Insufficient validation of untrusted input in Omnibox in Goo…6.1
- CVE-2026-11274Inappropriate implementation in DOM Distiller in Google Chro…4.3
- CVE-2026-11275Inappropriate implementation in Page Info in Google Chrome o…6.5
- CVE-2026-11276Inappropriate implementation in Cast in Google Chrome prior …5.1
- CVE-2026-112768Parse Server before 8.6.99 and 9.0.0 before 9.10.3-alpha.2 e…6.9
Are you affected by CVE-2026-112712?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
