All reports
High

multer vulnerable to Denial of Service via file descriptor leak on aborted uploads

Affected versions

Affected versions
= 2.2.0
Fixed version
2.3.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-77037

Probability of exploitation in the next 30 days: 0.46%

FIRST EPSS · 2026-11-23

Description

Impact

A vulnerability in multer 2.2.0 allows an attacker to trigger a Denial of Service (DoS) by aborting or truncating multipart uploads. When using diskStorage, the destination write stream is not closed if the upload is aborted before it finishes, so each failed request leaks an open file descriptor and retains its disk blocks until the process exits. Repeated failed uploads can exhaust the available file descriptors. All applications using multer's disk storage are affected.

Patches

Users should upgrade to 2.3.0.

Workarounds

None.

Links

Credits

  • dkoazw
  • EmirCobanOfficial
  • bjohansebas
  • UlisesGascon