MediumGHSA-3p4h-7m6x-2hcmCVE-2026-5038

Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads

Published 17 Jun 2026 · Updated 17 Jun 2026

Affected packages

Affected
>=2.0.0-alpha.1 <2.2.0
Fixed in
2.2.0
Update to the fixed version for your release line, for example:npm install multer@2.2.0
Affected
>=3.0.0-alpha.1 <3.0.0-alpha.2
Fixed in
3.0.0-alpha.2
Update to the fixed version for your release line, for example:npm install multer@3.0.0-alpha.2

Details

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

Is GHSA-3p4h-7m6x-2hcm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected multer, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.