CVE-2026-132131: @fastify/middie · Improper Validation of Specified Type of Input
Affects @fastify/middieSource CVE Database V5
Not known to be exploited · CVSS 7.4 High : upgrade to 9.3.7 soon.
Data as of 19 Nov 2026, 11:50 UTC
Thin evidence
One scorer or none| CNA (openjs) | CVSS 3.1 | 7.4 |
|---|
- Patch
- Available – fixed in 9.3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade @fastify/middie to 9.3.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| @fastify/middie@fastify/middie | Affected
| Fixed in
|
npm@fastify/middiepkg:npm/@fastify/middieOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade @fastify/middie to version 9.3.7 or later, where the issue is fixed. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after routing, and avoid using array mount paths with trailing slash elements for security-relevant middleware.
Description
@fastify/middie versions 8.3.0 through 9.3.6 improperly handle array mount paths with trailing slashes or root path elements, causing path-scoped middleware to be bypassed. This allows unauthenticated clients to access protected routes when middleware such as authentication or authorization is mounted on such paths. The issue is fixed in version 9.3.7.