All reports
Medium

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

Affected versions

Affected versions
>= 2.0.0-alpha.1, < 2.2.0
Fixed version
2.2.0
Affected versions
>= 3.0.0-alpha.1, < 3.0.0-alpha.2
Fixed version
3.0.0-alpha.2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-5038

Probability of exploitation in the next 30 days: 0.37%

FIRST EPSS · 2026-11-23

Description

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

Links

Credits

  • yuki-matsuhashi
  • HamdaanAliQuatil
  • fasrm
  • UlisesGascon
  • bjohansebas
  • 0xStraw-Hat
  • bhaswanthc
  • ByamB4
  • sbouabid-sec
  • DavidCarliez
  • JebeenLee