7.5high
@fastify/middie standalone engine vulnerable to Denial of Service via malformed percent-encoded paths
- Severity
- 7.5high CVSS:3.1 by openjs
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- openjs
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @fastify/middie @fastify/middie | from 9.1.0 before 9.3.3 Not affected: 9.3.3 | CVE List |
| fastify fastify/middie | from 9.1.0 before 9.3.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://github.com/fastify/middie/security/advisories/GHSA-qcc9-jh8q-47vh | mitigation, vendor-advisory | |
| https://cna.openjsf.org/security-advisories.html | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-14181 changed 2026-07-01 | CVE Terms of Use |
| NVD | CVE-2026-14181 changed 2026-07-02 | Public domain |