Security Resilience

CVE-2026-112712

@fastify/middie

Published
20 October 2026
Modified
30 October 2026
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0031 25th percentile
Risk Priority 66 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-112712 is a critical-severity Interpretation Conflict (CWE-436) vulnerability in @fastify/middie (named in the CVE record; NVD lists no product yet). Its CVSS base score is 9.1 (Critical).

Operationally, ranked at the 25th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

@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,…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-20293Shared CWE-436
CVE-2026-122310Shared CWE-436
CVE-2025-66490Shared CWE-436
CVE-2023-52892Shared CWE-436
CVE-2026-33804Shared CWE-436
CVE-2026-104269Shared CWE-436
CVE-2026-75931Shared CWE-436
CVE-2026-121135Shared CWE-436
CVE-2023-39481Shared CWE-436
CVE-2025-12816Shared CWE-436

Affected Assets

@fastify/middie
@fastify/middie
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect and correct cases where one component misinterprets another’s state or messages.

prevents

Secure coding standards can enforce canonical input handling and strict protocol compliance to avoid misinterpretation between products.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-436, a class-level weakness, and none of its children carries one either.

References