CVE-2026-14181

@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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:*

History

02 Jul 2026, 13:50

Type Values Removed Values Added
CPE cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:*
First Time Fastify
Fastify fastify\/middie
References () https://cna.openjsf.org/security-advisories.html - () https://cna.openjsf.org/security-advisories.html - Vendor Advisory
References () https://github.com/fastify/middie/security/advisories/GHSA-qcc9-jh8q-47vh - () https://github.com/fastify/middie/security/advisories/GHSA-qcc9-jh8q-47vh - Mitigation, Vendor Advisory

01 Jul 2026, 12:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-01 12:16

Updated : 2026-07-02 13:50


NVD link : CVE-2026-14181

Mitre link : CVE-2026-14181

CVE.ORG link : CVE-2026-14181


JSON object : View

Products Affected

fastify

  • fastify\/middie
CWE
CWE-248

Uncaught Exception