Security Resilience

CVE-2026-14181

Fastify\/Middie 9.1.0 – 9.3.3

Published
01 July 2026
Modified
02 July 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0050 36th percentile
Risk Priority 58 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-14181 is a high-severity Uncaught Exception (CWE-248) vulnerability in Fastify\/Middie. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 36th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-8 (Security and Privacy Engineering Principles) and SC-24 (Fail in Known State) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

@fastify/middie versions 9.1.0 through 9.3.2 fail to guard the URL normalization step used by the standalone engine when incoming request paths contain malformed percent-encoded sequences. Inputs such as an incomplete percent escape or a truncated multibyte sequence cause the underlying…

more

decoder to throw synchronously, and the exception escapes the middie normalize step and terminates the Node.js process. The bypass affects applications that call middie.run directly on the standalone engine API, causing an immediate denial of service for all connected clients until restart. Applications using the Fastify plugin path are not affected because Fastifys error handler catches the exception. Patches: upgrade to @fastify/middie 9.3.3. Workarounds: migrate from the standalone engine API to the Fastify plugin path, where the framework error handler catches the exception.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-22031Same product: Fastify Fastify\/Middie
CVE-2026-33804Same product: Fastify Fastify\/Middie
CVE-2026-14198Same product: Fastify Fastify\/Middie
CVE-2026-2880Same product: Fastify Fastify\/Middie
CVE-2026-85184Same product: Fastify Fastify\/Middie
CVE-2026-6270Same product: Fastify Fastify\/Middie
CVE-2025-44019Shared CWE-248
CVE-2025-20172Shared CWE-248
CVE-2026-122314Shared CWE-248
CVE-2026-58859Shared CWE-248

Affected Assets

fastify
fastify\/middie
9.1.0 — 9.3.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Security engineering principles include robust exception management to keep the system in a defined state.

Fail-in-known-state reduces the impact when an uncaught exception occurs by preserving a safe condition.

Error handling requirements force structured catching and response to exceptions instead of allowing them to propagate uncaught.

Mitigating Controls (NIST CSF 2.0)

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

PR.PS-06 mostly match
blocks

Secure SDLC practices explicitly require structured exception handling to prevent uncaught exceptions from reaching production.

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 uncaught exceptions before production deployment.

prevents

Training developers in exception handling reduces uncaught-exception defects, but it is a fallible human practice and the strongest controls for this implementation-phase code defect are code review and static analysis (A.8.28/A.8.29), so only a minority of instances are prevented.

prevents

Secure coding standards directly require catching and handling exceptions to prevent crashes or leaks.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25-8.29) its contract requires of the supplier, so an outsourced implementation that omits exception handling is reduced the way those practices reduce it; the owner graded the same clause against CWE-134 at `partial` on this verb, and CWE-248 is the same kind of regular implementation-phase software weakness, with the same fallible-supplier-practice remainder.

finds

A.8.8 discovers vulnerabilities through published advisories and scanning tools, which surface known flaws in third-party components, but an uncaught exception is a code-level defect in first-party implementation that is not disclosed as a CVE and is invisible to vulnerability management's disclosure-based reach.

References