Home / @fastify/middie / @fastify/middie / CVE-2026-112712
CVE-2026-112712: is it exploited, and which versions of @fastify/middie are affected and fixed?
CVE-2026-112712 is an interpretation Conflict vulnerability in @fastify/middie. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: @fastify/middie from 9.0.0 before 9.3.6 (CVE record by openjs). Fixed in 9.3.6 (CVE record by openjs). Severity: Critical (9.1, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-112712?
@fastify/middie vulnerable to path-scoped middleware bypass via scope prefix mismatch
@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.
From the CVE record by openjs, last updated October 30, 2026, 17:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| @fastify/middie | @fastify/middie | from 9.0.0 before 9.3.6 | 9.3.6 |
As the CVE record by openjs states it, last updated October 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-112712?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | openjs |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-112712 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 30, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-436 Interpretation Conflict
Where are the vendor advisories and references?
- https://github.com/fastify/middie/security/advisories/GHSA-5p92-8765-9fv8
- https://cna.openjsf.org/security-advisories.html
Who found and reported it?
- zachariah-mithani (reporter)
- mcollina (remediation developer)
- UlisesGascon (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 19, 2026
- Published
- October 20, 2026, 20:43 UTC
- CVE record updated
- October 30, 2026, 17:17 UTC by openjs
- NVD
- Deferred, last modified October 30, 2026, 18:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect @fastify/middie?
- Nov 26, 2026CVE-2026-135205 @fastify/middie: interpretation Conflict
- Nov 21, 2026CVE-2026-133250 @fastify/middie: authentication bypass through another path
- Nov 19, 2026CVE-2026-132133 @fastify/middie: interpretation Conflict
- Nov 19, 2026CVE-2026-132131 @fastify/middie: improper Validation of Specified Type of Input
- Nov 19, 2026CVE-2026-132128 @fastify/middie: improper Handling of Case Sensitivity
- Sep 4, 2026CVE-2026-85184 @fastify/middie: interpretation Conflict
- Jul 1, 2026CVE-2026-14181 @fastify/middie: uncaught exception (crash)
- Jul 1, 2026CVE-2026-14198 @fastify/middie: interpretation Conflict
Questions about CVE-2026-112712
Is CVE-2026-112712 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of @fastify/middie are affected by CVE-2026-112712?
@fastify/middie from 9.0.0 before 9.3.6, per the CVE record by openjs. The tables above give every range the sources list.
Which version fixes CVE-2026-112712?
9.3.6, per the CVE record by openjs. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-112712?
Critical (9.1, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-112712?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.