High severity · published Jun 15, 2026
CVE-2026-5038
multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MU
multer · multer
2.0.0-alpha.1 before 2.2.0; 3.0.0-alpha.1 before 3.0.0-alpha.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-5038
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-5038
Vendor Advisory
https://cna.openjsf.org/security-advisories.html
Vendor Advisory
https://github.com/expressjs/multer/security/advisories/GHSA-3p4h-7m6x-2hcm
More from multer
7.5
CVE-2026-113872
multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown
7.5
CVE-2026-82333
multer vulnerable to Denial of Service via oversized array index in field names
7.5
CVE-2026-77078
multer vulnerable to Denial of Service via crafted multipart field names
7.5
CVE-2026-77037
multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
7.5
CVE-2026-5079
multer vulnerable to Denial of Service via deeply nested field names
