CVE-2026-5038: Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads
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
Published Jun 17, 2026
Affected packages
multer
- Ecosystem
- npm
- Affected
- >= 2.0.0-alpha.1, < 2.2.0
- Fixed in
- 2.2.0
- Check
npm ls multer
multer
- Ecosystem
- npm
- Affected
- >= 3.0.0-alpha.1, < 3.0.0-alpha.2
- Fixed in
- 3.0.0-alpha.2
- Check
npm ls multer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to yuki-matsuhashi, HamdaanAliQuatil, fasrm, UlisesGascon, bjohansebas, 0xStraw-Hat, bhaswanthc, ByamB4, sbouabid-sec, DavidCarliez.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-113872
multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown
high7.5Oct 23, 2026CVE-2026-88932
multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads
medium5.3Sep 28, 2026CVE-2026-77037
multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
high7.5Sep 8, 2026CVE-2026-77063
multer vulnerable to file size limit bypass via async fileFilter race condition
low3.7Sep 8, 2026CVE-2026-77078
multer vulnerable to Denial of Service via crafted multipart field names
high7.5Sep 8, 2026CVE-2026-82333
multer vulnerable to Denial of Service via oversized array index in field names
high7.5Sep 8, 2026
