CVE-2026-112712
CRITICALDescription
@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.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 24% of all known CVEs.
References
Related Vulnerabilities
Other CWE-436 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-25292 | Critical | 9.8 | 65% | - | Fix |
| CVE-2022-37436 | Medium | 5.3 | 56% | - | Fix |
| CVE-2021-28474 | High | 8.8 | 51% | - | Fix |
| CVE-2025-25291 | Critical | 9.8 | 21% | - | Fix |
| CVE-2026-63030 | Critical | 9.8 | 11% | KEV | Fix |
| CVE-2019-17596 | High | 7.5 | 4.7% | - | Fix |
Common questions
How do I fix CVE-2026-112712?
No published fix for CVE-2026-112712 has been found yet. Check the linked vendor advisories for guidance as it becomes available.
Is CVE-2026-112712 being actively exploited?
Not that we know of. CVE-2026-112712 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.31% is the estimated probability that it will be exploited in the next 30 days. That is higher than 24% of all scored CVEs.
How severe is CVE-2026-112712?
CVE-2026-112712 has a CVSS v3 base score of 9.1, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
Embed a live status badge for CVE-2026-112712
Markdown
[](https://tridentstack.com/cve/CVE-2026-112712)HTML
<a href="https://tridentstack.com/cve/CVE-2026-112712"><img src="https://tridentstack.com/cve/badge/CVE-2026-112712.svg" alt="CVE-2026-112712"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-10-22.