CVE Professor
›
Back
CVE-2026-132131

CVE-2026-132131 — @fastify/middie @fastify/middie (9.3.7) — CWE-1287

HIGH CVSS 7.4 CVE.org

CVE-2026-132131 is a HIGH severity Missing Authorization & Access Control vulnerability (CWE-1287) (CVSS 7.4/10) affecting @fastify/middie @fastify/middie (9.3.7). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

@fastify/middie is the middleware engine that adds Express and Connect style middleware support to Fastify. In versions 8.3.0 through 9.3.6, the internal helper that normalizes a path-scoped middleware's mount path only handles string inputs, but the use method also accepts an array of mount paths and passes it through unchanged, so the normalization silently does nothing. As a result, a trailing slash on an array element survives into the generated route-matching regular expression, and an element that is exactly the root path, meaning a catch-all mount, is dropped entirely. Requests to subroutes of the affected mount paths then skip the path-scoped middleware, such as authentication, authorization, or rate limiting, while Fastify's router still dispatches them to the handler, allowing an unauthenticated client to reach protected routes. Applications are affected when they mount middleware on an array of paths in which an element ends with a slash, including one introduced by a plugin prefix that ends with a slash, or is exactly the root path. The issue is fixed in @fastify/middie 9.3.7, and users should upgrade to 9.3.7 or later. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after routing, and avoid array mount paths with a trailing slash element for security relevant middleware.

Published 19.11.2026
ISO Date 2026-11-19
CVSS Version v3.1
Source CVE.org
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-132131
CVSS 7.4/10 · HIGH · 19.11.2026
CWE: CWE-1287
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: @fastify/middie is the middleware engine that adds Express and Connect style middleware support to Fastify. In versions 8.3.0 through 9.3.6, the internal helper that normalizes a path-scoped middleware's mount path only handles string inputs, but the use method also accepts an array of mount paths and passes it through unchanged, so the normalization silently does nothing. As a result, a traili…
Affected: @fastify/middie:@fastify/middie

⚡ ATTACK CHAIN
Remotely over internet | no authentication required | no user interaction.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted.

🛡️ REMEDIATION
→ Apply vendor security update for @fastify/middie:@fastify/middie.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="@fastify/middie @fastify/middie"
CVSS Score
7.4 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-1287
Affected Products (1)
@fastify/middie:@fastify/middie (9.3.7)
References & Advisories (2)
Related CVEs
4.3
CVE-2026-17575
Mattermost versions 11.8.x <= 11.8.5, 11.7.x <= 11.7.10, 11.10.x <= 11.10.2 fails to validate the type of card
6.5
CVE-2026-121590
Mattermost Desktop App versions <=6.3 6.0.3 6.3.2.0 fail to validate the SiteURL value returned in a server's
6.9
CVE-2026-119347
Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, t
10.0
CVE-2026-76964
SAP NetWeaver Application Server ABAP does not sufficiently validate certain network input processed by an int
9.9
CVE-2026-13312
A vulnerability that could allow an attacker to compromise a system.
6.7
CVE-2026-14542
The VAPIX SIP configuration API lacked sufficient input validation, which could potentially lead to privilege