What’s Vulnerable › Vulnerabilities
CVE-2026-18549: @fastify/multipart vulnerable to Denial of Service via aborted upload after fileSize limit
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-15 · updated 2026-09-02
- Weakness: CWE-400
Description
@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 products
- fastify-multipart: from 5.3.0 before 10.1.1 — fixed in 10.1.1
How to fix
Upgrade to a fixed version: fastify-multipart 10.1.1. Check the vendor advisory for mitigations.
References
- https://cna.openjsf.org/security-advisories.html
- https://github.com/fastify/fastify-multipart/security/advisories/GHSA-vmph-573x-85f6
Get alerted when CVE-2026-18549 or the next vulnerability affects your stack