NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-5038: Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads

mediumCVSS 3.1 5.3GHSA-3p4h-7m6x-2hcm

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 entries