CVE-2026-110710
Received Received - Intake

Temporary File Leak in Fastify Multipart Plugin

Vulnerability report for CVE-2026-110710, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: openjs

Description

@fastify/multipart is the official Fastify plugin for handling multipart/form-data uploads. In versions 3.0.0 through 10.1.3, temporary files written by the saveRequestFiles helper are removed only by a response hook that runs when the response finishes or errors. When a client completes an upload and then disconnects before the handler writes the reply, for example while the handler scans, hashes or forwards the file, the response only emits a close event, the cleanup hook never runs, and the saved files are left on disk. An unauthenticated client can repeat this cheaply to exhaust disk space and deny service to applications that save uploaded files to disk. The issue is fixed in @fastify/multipart 10.1.4, and users should upgrade to 10.1.4 or later. As a workaround, avoid saving request files for untrusted clients, or clean the saved files from a close handler on the raw response so removal also happens when the client disconnects.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
fastify multipart From 3.0.0 (inc) to 10.1.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-459 The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
CWE-772 The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Denial of Service (DoS) vulnerability in the @fastify/multipart plugin for Fastify. When clients upload files using saveRequestFiles(), temporary files are only deleted if the response finishes or errors. If a client disconnects before the handler completes, cleanup does not occur, leaving files on disk. Attackers can repeatedly exploit this to exhaust disk space.

Detection Guidance

Check for unusually high disk usage in temporary directories where @fastify/multipart stores files. Monitor for processes using saveRequestFiles() with untrusted clients. Look for repeated upload attempts followed by disconnections.

Impact Analysis

An unauthenticated attacker could repeatedly upload files and disconnect before cleanup, filling up disk space. This could crash or slow down the application, disrupting service for legitimate users. Systems relying on disk storage for uploads are most affected.

Mitigation Strategies

Upgrade @fastify/multipart to version 10.1.4 or later. Avoid using saveRequestFiles() for untrusted clients. Implement manual cleanup in reply.raw 'close' handler to remove temporary files on client disconnect.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-110710. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...