CVE-2026-14181: @fastify/middie standalone engine vulnerable to Denial of Service via malformed percent-encoded paths

Published Jul 1, 2026
·
Updated

@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 Software

2 affected components
npm/@fastify/middie>=9.1.0<=9.3.2
fastify Fastify\/middie Node.js>=9.1.0<9.3.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade @fastify/middie to a version that resolves this vulnerability.

    Fixed in 9.3.3
  2. Configuration

    If applicable, migrate from the standalone engine API (middie.run) to the Fastify plugin path so Fastify’s error handler catches the synchronous exception thrown during URL normalization.

    Fastify application routing/error handling Request handling path = migrate to Fastify plugin path (avoid standalone middie.run)
  3. Operational

    Because the denial of service can terminate the Node.js process, restart the affected service after remediation.

Event History

Jul 1, 2026
CVE Published
via MITRE·11:42 AM
Data Sourced
via MITRE·11:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-14181?

The severity of CVE-2026-14181 is rated as high with a CVSS score of 7.5.

2

How do I fix CVE-2026-14181?

To fix CVE-2026-14181, upgrade @fastify/middie to version 9.3.3 or later.

3

What types of attacks does CVE-2026-14181 expose applications to?

CVE-2026-14181 exposes applications to Denial of Service attacks using malformed percent-encoded paths.

4

Which versions of @fastify/middie are affected by CVE-2026-14181?

Versions 9.1.0 through 9.3.2 of @fastify/middie are affected by CVE-2026-14181.

5

What is the impact of CVE-2026-14181 on system availability?

CVE-2026-14181 can lead to system unavailability due to Denial of Service conditions caused by malformed input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203