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

Is your project on an affected multer?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

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.

More advisories for multer

  • HighCVE-2026-113872multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown · 23 Oct 2026
  • MediumCVE-2026-88932multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads · 28 Sept 2026
  • HighCVE-2026-77078multer vulnerable to Denial of Service via crafted multipart field names · 8 Sept 2026
  • HighCVE-2026-77037multer vulnerable to Denial of Service via file descriptor leak on aborted uploads · 8 Sept 2026
  • LowCVE-2026-77063multer vulnerable to file size limit bypass via async fileFilter race condition · 8 Sept 2026
  • HighCVE-2026-82333multer vulnerable to Denial of Service via oversized array index in field names · 8 Sept 2026
All 15 advisories for multer

References

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