Back to overview

CVE-2026-14181

HIGH
7.5
CVSS 3.1
Description
@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 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.

Metadata

CVE ID
CVE-2026-14181
State
PUBLISHED
Assigner
openjs
Reserved
2026-06-30 08:01 UTC
Published
2026-07-01 11:42 UTC
Last updated
2026-07-01 12:05 UTC
Primary CWE
CWE-248
CWE-248: Uncaught Exception
Vendor / Product
@fastify/middie / @fastify/middie
Sources
cve.org  ·  NVD

Severity & Metrics

7.5 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
@fastify/middie @fastify/middie 9.1.0 < 9.3.3, 9.3.3
Weakness (CWE)
CWESourceDescription
CWE-248 cna CWE-248: Uncaught Exception
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.5 HIGH 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Back to overview