CVE-2026-5038 — Vulnerability in multer — CVE Details
Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.49%). Schedule for your next planned update.
Does your project use an affected multer version?
Paste your package-lock.json to check it for CVE-2026-5038 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A vulnerability in Multer allows an attacker to trigger a Denial of Service (DoS) by aborting or sending malformed multipart uploads, causing orphaned partial files to accumulate on disk when using diskStorage.
Patches
Users should upgrade to 2.2.0, 3.0.0-alpha.2 or higher
Workarounds
None
Advisory Timeline
- First published June 17, 2026 (162 days ago).
- Last revised June 17, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install multer@3.0.0-alpha.2
npm install multer@2.2.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-459
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
Frequently Asked Questions
- What is CVE-2026-5038?
- Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-5038?
- CVE-2026-5038 affects multer. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-5038 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 34.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-82333HIGH
multer vulnerable to Denial of Service via oversized array index in field names
- CVE-2026-3520HIGH
Multer Vulnerable to Denial of Service via Uncontrolled Recursion
- CVE-2026-5079HIGH
Multer vulnerable to Denial of Service via deeply nested field names
- CVE-2025-7338HIGH
Multer vulnerable to Denial of Service via unhandled exception from malformed request
- CVE-2026-113872HIGH
multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown
- CVE-2026-2359HIGH
Multer vulnerable to Denial of Service via resource exhaustion
- CVE-2026-77078HIGH
multer vulnerable to Denial of Service via crafted multipart field names
- CVE-2026-77063LOW
multer vulnerable to file size limit bypass via async fileFilter race condition