Skip to main content

Multer EUVDEUVD-2026-36728

| CVE-2026-5038 HIGH
Incomplete Cleanup (CWE-459)
2026-06-15 openjs GHSA-3p4h-7m6x-2hcm
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify Multer upload endpoint
  2. Delivery
    Open multipart POST connections
  3. Exploit
    Abort streams mid-upload
  4. Execution
    Orphan partial files accumulate
  5. Persist
    Disk partition exhausted
  6. Impact
    Upload and write operations fail service-wide

Vulnerability Assessment

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

Exploitation requires that the target application uses Multer's diskStorage engine (the default DiskStorage configuration, including the no-arg multer() call which writes to os.tmpdir()) on an affected version 2.0.0-alpha.1 through 2.1.1 or 3.0.0-alpha.1, and that an upload route is reachable by the attacker. The attacker must be able to initiate multipart/form-data POSTs and abort or malform them mid-stream. Applications configured exclusively with memoryStorage or a custom storage engine that does not write to fs are not exploitable via this path. No authentication is required (PR:N) and no user interaction is needed (UI:N); limiting factors are filesystem quotas, reverse-proxy upload caps, and any rate limiting in front of the upload endpoint.

Impact

All signals point to a credible but bounded availability risk rather than a critical compromise. CVSS 3.1 7.5 with AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:H confirms an unauthenticated, low-complexity, network-reachable availability impact only, which aligns with SSVC's Automatable:yes and Technical Impact:partial classifications and reinforces that a scripted abort-flood is feasible. EPSS at 0.25% (16th percentile) and the absence of CISA KEV listing indicate no observed mass exploitation, consistent with no public exploit identified at time of analysis. The practical risk is highest for internet-facing services that expose Multer-backed upload endpoints without disk quotas, rate limiting, or upload-size enforcement; for such deployments this should be prioritized despite the low EPSS, because a single attacker with bandwidth can fill the upload partition.

Exploit ScenarioDerived

An unauthenticated attacker repeatedly opens multipart/form-data POST requests to a Multer diskStorage-backed upload endpoint and aborts each TCP connection mid-transfer after sending some payload bytes. Each aborted request leaves an orphan partial file on disk, and a parallelized loop quickly consumes the upload partition, causing write failures across the application until an operator manually clears the temp directory. No public exploit code is required because the behavior is reproducible with curl or any HTTP client that can close a socket mid-stream.

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

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

Alert me

AnalysisAIv3 – Jun 16, 2026

Denial of service in Multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 allows remote unauthenticated attackers to exhaust server disk space when the library is configured with diskStorage. Aborted or malformed multipart uploads leave orphaned partial files because stream destruction is not propagated to the underlying fs.WriteStream, enabling resource exhaustion at scale with no public exploit identified at time of analysis. EPSS probability is low at 0.25% but SSVC marks the issue automatable with partial technical impact.

Earlier versions of this analysis (2)
v2 Jun 16, 2026 - 17:12 cvss changed CVSS 7.5

Denial of service in the Node.js Multer middleware (versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1) allows remote unauthenticated attackers to exhaust disk space on servers using diskStorage by repeatedly aborting multipart uploads, leaving orphaned partial files behind. The flaw stems from Readable.pipe() failing to propagate stream destroy signals to the underlying fs.WriteStream, so cleanup never occurs on the abort path. No public exploit identified at time of analysis, and EPSS is low (0.25%), but the attack requires no application bug and is fully automatable.

v1 Jun 15, 2026 - 16:33 CVSS 5.3

Disk space exhaustion in multer's diskStorage handler allows unauthenticated remote attackers to cause a Denial of Service by triggering aborted or malformed multipart uploads. Affected versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 fail to propagate stream destroy signals from Readable.pipe() to the underlying fs.WriteStream, leaving orphaned partial files on disk after each aborted upload. No application-level bug is required - any endpoint using multer with diskStorage is vulnerable by design of the affected library versions. No public exploit or CISA KEV listing is identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to multer 2.2.0 on the 2.x line or 3.0.0-alpha.2 on the 3.x prerelease, both of which track in-flight write streams and clean them up on the abort path, per the GHSA-3p4h-7m6x-2hcm advisory (https://github.com/expressjs/multer/security/advisories/GHSA-3p4h-7m6x-2hcm) and OpenJS CNA notes (https://cna.openjsf.org/security-advisories.html). The vendor states no workarounds exist, so if you cannot upgrade immediately, switch the storage engine from diskStorage to memoryStorage where upload sizes permit (trade-off: increased RSS memory pressure under load), enforce strict per-request limits in Multer's limits option to cap file size and field count, place the upload partition on a dedicated filesystem with quotas so disk exhaustion cannot affect the root or application volumes, and add a scheduled sweeper job that unlinks files older than a short threshold from the temp upload directory (trade-off: may race with slow legitimate uploads, so tune the age carefully).

Affected VersionsENISA

multer 2.0.0-alpha.1 <2.2.0
multer 3.0.0-alpha.1 <3.0.0-alpha.2

Affected Packages

npm multer fix: 2.2.0, 3.0.0-alpha.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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

Technical ContextAI · show details

Multer is a widely deployed Node.js middleware for Express that handles multipart/form-data uploads, commonly wired into file-upload endpoints. The flaw is a CWE-459 Incomplete Cleanup: when using the diskStorage engine, Multer pipes the inbound Readable into an fs.WriteStream, but Readable.pipe() does not forward a destroy() signal down to the writable side when the upstream request is aborted. The result is that the WriteStream remains open and its partial file is never unlinked, so each aborted upload leaves behind orphan bytes on disk. The affected package is identified by cpe:2.3:a:multer:multer:*:*:*:*:*:*:*:*, covering the 2.x line from 2.0.0-alpha.1 through 2.1.1 and the 3.x prerelease 3.0.0-alpha.1.

Know when Multer 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 MEDIUM
NVD 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

Unauthenticated remote abort-flood against a reachable diskStorage upload endpoint, no user interaction, availability-only impact through disk exhaustion; no confidentiality or integrity effect.

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
Red Hat 7.5 HIGH

Primary rating from Vendor (openjs).

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Jun 16, 2026 - 17:12 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 16, 2026 - 17:12 vuln.today
v2 - CVSS changed
Severity Changed
Jun 16, 2026 - 17:07 NVD
MEDIUM HIGH
CVSS changed
Jun 16, 2026 - 17:07 NVD
5.3 (MEDIUM) 7.5 (HIGH)
Patch available
Jun 15, 2026 - 17:01 EUVD

DescriptionNVD

Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required.

Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path.

Workarounds: None.

Executive ViewAI

Why It Matters

Multer file upload library versions 2.0.0-alpha.1-2.1.1 and 3.0.0-alpha.1 are vulnerable to remote denial-of-service attacks that exhaust server disk space, disrupting business operations for any application using this library with disk storage configuration. Unauthenticated attackers can trigger the condition at scale by submitting malformed uploads, creating operational burden, service downtime risk, and manual recovery overhead. Vendor patch is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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.2%
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
High
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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Multer

View all
CVE-2026-3520 HIGH
8.7 Mar 04

Denial of service in Multer (Express.js multipart/form-data middleware) before version 2.1.1 allows remote unauthenticat

CVE-2026-3304 HIGH
8.7 Feb 27

Denial of service in Multer (the Express/Node.js multipart/form-data middleware) before version 2.1.0 lets remote attack

CVE-2026-2359 HIGH
8.7 Feb 27

Denial of service in Multer (Express.js multipart/form-data middleware) before version 2.1.0 lets remote unauthenticated

CVE-2026-77037 HIGH
7.5 Aug 28

File descriptor exhaustion in multer 2.2.0's DiskStorage engine allows remote unauthenticated attackers to cause denial

CVE-2026-77078 HIGH
7.5 Aug 28

Remote denial-of-service in the Node.js multer middleware (all versions before 2.3.0) allows unauthenticated attackers t

CVE-2026-82333 HIGH
7.5 Aug 28

Event loop exhaustion in multer (all versions before 2.3.0) allows unauthenticated remote attackers to render a Node.js

CVE-2026-5079 HIGH
7.5 Jun 15

Denial of service in the Express.js multer middleware (versions 1.0.0 through 2.1.1 and 3.0.0-alpha.1) allows unauthenti

CVE-2026-113872 HIGH
7.5 Oct 22

Applications that configure the multer upload middleware (npm package, versions 2.0.0 through 2.4.x) with an asynchronou

CVE-2026-88932 MEDIUM POC
5.3 Sep 14

Disk space exhaustion in multer 2.2.0-2.3.0 allows a remote unauthenticated attacker to repeatedly start and abort multi

CVE-2026-77063 LOW
3.7 Aug 28

Race condition in multer's file stream handling allows uploaded files exceeding the configured fileSize limit to bypass

Vendor StatusVendor

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