Allocation of Resources Without Limits or Throttling Affecting @fastify/multipart package, versions <10.1.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FASTIFYMULTIPART-22149949
  • published3 Nov 2026
  • disclosed2 Nov 2026
  • creditfifoqueue

Introduced: 2 Nov 2026

NewCVE-2026-117531  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @fastify/multipart to version 10.1.7 or higher.

Overview

@fastify/multipart is a Multipart plugin for Fastify

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the multipart request handler in index.js when a request body ends inside a file part with no closing boundary. The plugin destroys the in-progress file stream without propagating the parser error, so a handler that iterates parts with request.parts() and performs asynchronous work before consuming part.file attaches pipeline() or toBuffer() to a stream that never emits an error or end event. The request never responds and the connection stays open, allowing an unauthenticated remote client to repeat malformed uploads against such a route to accumulate pending connections and exhaust server resources.

Note: This is only exploitable when the application uses a delayed file consumer - that is, a handler that performs asynchronous work before consuming part.file.

CVSS Base Scores

version 4.0
version 3.1