CVE-2026-18549
JSON

7.5high

@fastify/multipart vulnerable to Denial of Service via aborted upload after fileSize limit

Severity
7.5high CVSS:3.1 by openjs
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openjs

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

Product or packageVersionsReported by
@fastify/multipart @fastify/multipartfrom 5.3.0 before 10.1.1
Not affected: 10.1.1
CVE List
fastify fastify-multipartfrom 5.3.0 before 10.1.1NVD

Classification

CWE-400CWE-664

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18549 changed 2026-08-17CVE Terms of Use
NVDCVE-2026-18549 changed 2026-09-02Public domain