Intel

AIKIDO-2026-702913

@fastify/multipart is vulnerable to Denial of Service

Denial of ServiceCVE-2026-19474 Published 4 days ago

75

High Risk

This Affects:

JS@fastify/multipart
3.0.0 - 10.1.0
Fixed in 10.1.1
Are you affected? Scan for Free

TL;DR

The multipart parser saves uploaded parts to temporary files through saveRequestFiles() on routes that accept more than one part. When a client completes one part, begins a later part, and then disconnects, the save promise rejects while the async iterator advances past the completed part, so already-written temporary files are left on disk outside the per-file cleanup path. Unauthenticated requests can repeat this to cause linear disk growth and exhaust available disk space. The fix relocates cleanup into an outer error handler so temporary files from earlier completed parts are removed when iteration fails.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application calls request.saveRequestFiles() on a route that accepts more than one part.

Background info

@fastify/multipart is vulnerable to Denial of Service in versions 3.0.0 - 10.1.0.

How to fix this

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