Fastify multipart: Disk exhaustion denial of service (CVE-2026-110710)
The @fastify/multipart plugin fails to clean up temporary files when a client disconnects during an upload, enabling an unauthenticated attacker to exhaust disk space through repeated requests.
CVE search metadata
CVE search record: CVE-2026-110710. Severity: high. CVSS: 7.5. KEV: no. Product: @fastify/multipart. Brief: Fastify multipart: Disk exhaustion denial of service (CVE-2026-110710). Brief link: https://feed.craftedsignal.io/briefs/2026-11-fastify-multipart-dos-cve-2026-110710/
Triage facts
Revision 1- Applicability
- @fastify/multipart
- Evidence
- Unknown
- Severity
- Low
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 16, 14:10 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
Overview
@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 executes when the response finishes or encounters an error. If a client completes an upload but disconnects before the application handler transmits a response (e.g., during file hashing, scanning, or forwarding), the cleanup hook does not execute. An unauthenticated attacker can repeatedly exploit this behavior to exhaust disk space and trigger a denial of service (DoS) condition on the host system.
Impact
Successful exploitation results in unauthorized disk space consumption, leading to a denial-of-service condition for the affected application.
Recommendation
- Upgrade @fastify/multipart to version 10.1.4 or later.
- If an immediate upgrade is not feasible, implement a workaround by cleaning up saved files from a 'close' handler on the raw response to ensure removal even if the client disconnects.
- Monitor disk usage metrics on servers running @fastify/multipart to identify sudden, persistent growth in temporary file directories.
Threat Hunt
Monitor server logs and filesystem activity for abnormal accumulation of temporary files associated with multipart/form-data uploads. Identify excessive 'close' events without corresponding successful 'response' finish events for the same request ID.
Data: webserver_access_logs, filesystem_audit_logs
Mitigations
Upgrade @fastify/multipart to version 10.1.4 or later