Skip to main content
VulnerabilityPublished

CVE-2026-132131: @fastify/middie · Improper Validation of Specified Type of Input

Affects @fastify/middieSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.4 High : upgrade to 9.3.7 soon.

Data as of 19 Nov 2026, 11:50 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (openjs)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
@fastify/middie@fastify/middieAffected
  • >=8.3.0 <9.3.7
Fixed in
  • 9.3.7
npm@fastify/middiepkg:npm/@fastify/middieOther threatsAffected
  • >=8.3.0 <9.3.7
Fixed in
  • 9.3.7

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.

References

Community reviews

Loading reviews…