Skip to main content

@fastify/multipart CVE-2026-110710

| EUVDEUVD-2026-126371 HIGH
Incomplete Cleanup (CWE-459)
2026-11-16 openjs
7.5
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint using saveRequestFiles
  2. Delivery
    Send complete multipart upload
  3. Exploit
    Disconnect before handler replies
  4. Execution
    onResponse cleanup hook skipped, temp file leaked
  5. Persist
    Repeat rapidly unauthenticated
  6. Impact
    Exhaust disk space, deny service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incomplete cleanup
Exploitation Conditions

Exploitable only against applications that call request.saveRequestFiles() to persist uploaded files to disk, and most reliably when the handler performs asynchronous work (scanning, hashing, or forwarding the file) after the save resolves - this widens the window in which a client can complete the upload and then disconnect before the reply is written, so the response emits only 'close' and the onResponse cleanup hook never fires. No authentication or user interaction is required (PR:N/UI:N) and it is network-reachable (AV:N). Limiting factors: deployments that do not use saveRequestFiles are unaffected; impact is bounded by available disk and any OS/container disk quotas; and the workarounds (avoid saveRequestFiles for untrusted clients, or call cleanRequestFiles() from a reply.raw 'close' handler) remove the leak without upgrading, though the vendor states upgrading to 10.1.4 or later is the fix.

Impact

This is a genuine but bounded availability risk rather than a critical priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) accurately reflects a network-reachable, low-complexity, unauthenticated flaw whose entire impact is availability (C:N/I:N) - consistent with CWE-459/CWE-772 (incomplete cleanup / missing release of resource) and the DoS-via-disk-exhaustion mechanism described. The vuln.today decision label is 'this_week' (not act_now/emergency), aligning with an exploitable-but-not-urgent posture. No EPSS score, no CISA KEV listing, and no SSVC decision data were supplied, so exploitation-probability and automatability signals are MISSING and cannot be weighed. No public exploit code is referenced (the two references are the GHSA advisory and the OpenJSF CNA advisory page, not a PoC), so there is no public-exploit signal to elevate urgency. The key limiting factor not captured by the AV:N/PR:N vector is that impact only materializes for applications that call request.saveRequestFiles() - especially handlers doing async work (scan/hash/forward) after the save - so the raw 7.5 overstates risk for the many deployments that never persist uploads to disk. Net: a real, cheap-to-trigger DoS for a specific usage pattern, worth patching promptly, but not a widespread-exploitation emergency on current evidence.

Exploit ScenarioDerived

An unauthenticated attacker repeatedly POSTs a complete multipart/form-data upload to an endpoint that calls saveRequestFiles(), then closes the TCP connection immediately after the upload finishes but before the handler writes its reply (e.g. while it scans or forwards the file). Because only a 'close' event fires, the onResponse cleanup hook never runs and each temp file is orphaned on disk; looping this cheaply exhausts disk space and denies service. No public exploit code is identified at time of analysis, but the condition is trivial to reproduce with any HTTP client that can abort mid-response.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Disk exhaustion denial of service in @fastify/multipart 3.0.0 through 10.1.3: temporary files persisted by request.saveRequestFiles() are only cleaned up by an onResponse hook, so a client that completes an upload and then disconnects before the handler writes its reply leaves those files on disk indefinitely. Remote unauthenticated attackers (CVSS:3.1/AV:N/AC:L/PR:N/UI:N) can repeat this cheaply to fill the filesystem and deny service, but only applications that call saveRequestFiles() for untrusted clients are exposed, and impact is bounded by available disk and any OS or container quotas. The vendor fixed the leak in 10.1.4; no public exploit code or CISA KEV entry was identified at time of analysis, and the issue is a bounded availability risk rather than a critical priority.

RemediationAI

Upgrade @fastify/multipart to 10.1.4 or later, which the vendor identifies as the complete fix; the advisory and CPE data confirm everything from 3.0.0 up to but excluding 10.1.4 is vulnerable (https://github.com/fastify/fastify-multipart/security/advisories/GHSA-r9rg-mfh6-f225). If upgrading immediately is not possible, the vendor documents two workarounds: stop using request.saveRequestFiles() for requests from untrusted clients, which removes the leak but requires reworking upload handling (for example streaming or in-memory processing), or call request.cleanRequestFiles() from a 'close' handler on reply.raw so saved files are also removed when the client disconnects - this closes the gap left by the onResponse hook but must be attached on every route that saves files, and it requires care to avoid double-cleanup on the normal finish path. Because this is a disk exhaustion issue, additionally bounding upload volume and enforcing filesystem or container disk quotas limits the blast radius while patching is rolled out.

Affected VersionsENISA

@fastify/multipart 3.0.0 <10.1.4

Affected Packages

euvd fastify_multipart fix: 10.1.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

@fastify/multipart is the official Fastify plugin for multipart/form-data uploads; its saveRequestFiles() helper streams parts to disk as temporary files. Cleanup is implemented as a Fastify onResponse hook, which the framework runs when the response emits 'finish' or 'error'. When a client finishes sending the upload so saveRequestFiles() resolves and then drops the connection before the route handler writes the reply - typical when the handler scans, hashes or forwards the file - the response emits only 'close', the hook never executes, and the saved files remain. This is CWE-459 (incomplete cleanup of temporary files), with the advisory also tagging CWE-772 (missing release of a resource); the CPE cpe:2.3:a:@fastify/multipart:@fastify/multipart:*:*:*:*:*:*:*:* records the package as the affected component, with the vulnerable range being the npm package >= 3.0.0 and < 10.1.4. The trigger is explicitly described in the advisory: a completed upload followed by a pre-reply disconnect on handlers that do asynchronous post-save work.

Know when Fastify Multipart gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (openjs) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable, no auth or interaction, and a trivially repeatable disconnect triggers the leak; impact is availability-only (C:N/I:N/A:H), matching a disk-exhaustion DoS.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 14:01 EUVD
CVE Published
Nov 16, 2026 - 13:03 cve.org
HIGH 7.5

DescriptionCVE.org

@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.

Technical POC Analysis

CWE-459 (Incomplete Cleanup), with CWE-772 (Missing Release of Resource after Effective Lifetime) also assigned.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-110710 is a disk exhaustion vulnerability in the @fastify/multipart library (versions 3.0.0 through 10.1.3), used by applications to handle file uploads. Remote unauthenticated attackers can exploit this by initiating file uploads and disconnecting before completion, causing temporary files to accumulate and potentially fill disk space, leading to denial of service. Only applications that use the saveRequestFiles() function for untrusted clients are at risk, but if such services are critical, leadership should prioritize remediation.

Business Impact: Medium
Compensating Controls

Apply vendor patch (upgrade to 10.1.4 or later). If patching is delayed, implement interim mitigations: enforce disk quotas per container or process, add a scheduled job to clean up orphaned temporary files, and monitor disk usage with automated alerts. Additionally, consider disabling saveRequestFiles() for untrusted clients until patched, or implement request timeouts and connection limits to reduce the window for exploitation.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Medium
official plugin of popular Fastify framework, but only affects file-saving apps
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy