Intel

AIKIDO-2025-10760

@fastify/multipart is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 31, 2025

21

Low Risk

This Affects:

JS@fastify/multipart
6.0.0 - 9.2.1
Fixed in 9.3.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to denial-of-service (DoS) attacks due to uncaught exceptions triggered by malformed multipart requests received after an asynchronous operation. When req.file(), req.files(), or req.parts() is called following an async operation, parsing may begin prematurely, causing Busboy to emit an error before user error handlers are attached, which crashes the Node.js process. The fix adds an immediate error listener to file streams to catch and handle these early errors safely.

Who does this affect?

You are affected if you are using a vulnerable version of the package.

Background info

@fastify/multipart is vulnerable to Denial of Service (DoS) in versions 6.0.0 - 9.2.1.

How to fix this

Upgrade the @fastify/multipart library to the patch version.