CVE-2026-18549
Received Received - Intake

File Size Limit Bypass in Fastify Multipart

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

Publication date: 2026-08-15

Last updated on: 2026-08-15

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fastify multipart From 5.3.0 (inc) to 10.1.1 (exc)
fastify multipart 10.1.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-664 The product does not maintain or incorrectly maintains control over a resource throughout its lifetime of creation, use, and release.
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects @fastify/multipart versions 5.3.0 to 10.1.0. When a file upload exceeds the size limit, the plugin fails to properly clean up temporary files and suspended request handlers. This can lead to disk exhaustion and event-loop blocking due to hanging requests.

Impact Analysis

An unauthenticated attacker can repeatedly trigger this issue to exhaust server disk space and block the event loop. This causes denial of service by preventing new requests from being processed and filling up storage with temporary files.

Mitigation Strategies

Upgrade @fastify/multipart to version 10.1.1 or later to fix the vulnerability.

Chat Assistant

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

EPSS Chart