Incomplete Cleanup Affecting multer package, versions >=2.0.0-alpha.1 <2.2.0>=3.0.0-alpha.1 <3.0.0-alpha.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MULTER-17342516
  • published16 Jun 2026
  • disclosed15 Jun 2026
  • creditHamdaanAliQuatil, Franciny Rojas, 0xStrawHat, bhaswanthc, ByamB4, sbouabid-sec, DavidCarliez, JebeenLee

Introduced: 15 Jun 2026

NewCVE-2026-5038  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade multer to version 2.2.0, 3.0.0-alpha.2 or higher.

Overview

Affected versions of this package are vulnerable to Incomplete Cleanup in the diskStorage function. An attacker can exhaust disk space by repeatedly initiating and aborting multipart uploads, causing orphaned partial files to accumulate on disk.

CVSS Base Scores

version 4.0
version 3.1