CVE-2026-18549: @fastify/multipart vulnerable to Denial of Service via aborted upload after fileSize limit

Published Aug 15, 2026
·
Updated

@fastify/multipart is a multipart form-data parser for Fastify. In versions from 5.3.0 up to but not including 10.1.1, when the busboy fileSize limit truncates a file part, the plugin clears its internal current-file reference while the underlying stream is still open. If the client then aborts the connection before sending the terminating boundary, the abort cleanup finds no stream to destroy, so saveRequestFiles() never settles, the request handler hangs, and the temporary file already written to disk is never cleaned up. An unauthenticated client can repeat this to permanently leak temporary files and suspended handler executions, leading to disk and event-loop exhaustion. The issue is fixed in @fastify/multipart 10.1.1. Users should upgrade to 10.1.1.

Affected Software

1 affected component
npm/@fastify/multipart>=5.3.0<10.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 10.1.1

Event History

Aug 15, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
DescriptionSeverityWeakness
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-18549?

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

2

How do I fix CVE-2026-18549?

To fix CVE-2026-18549, upgrade the @fastify/multipart package to version 10.1.1 or later.

3

What kind of vulnerability is CVE-2026-18549?

CVE-2026-18549 is a Denial of Service vulnerability caused by improper handling of aborted file uploads.

4

Which versions of @fastify/multipart are affected by CVE-2026-18549?

Versions of @fastify/multipart from 5.3.0 up to, but not including, 10.1.1 are affected by CVE-2026-18549.

5

What impact does CVE-2026-18549 have on applications?

CVE-2026-18549 can lead to Denial of Service by consuming resources when file uploads are aborted.

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