# CVE-2026-5038: multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-15 · Modified: 2026-06-15
- Aliases: GHSA-3p4h-7m6x-2hcm
- Record: https://cvemate.com/vulnerability/CVE-2026-5038 · JSON: https://cvemate.com/vulnerability/CVE-2026-5038/json

## Description

```text
Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to
the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required.

Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path.

Workarounds: None.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.367%, percentile 32.552%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- expressjs multer: ≥ 2.0.0, \< 2.2.0 \| 3.0.0:alpha1
- multer multer: ≥ 2.0.0-alpha.1, \< 2.2.0 \| ≥ 3.0.0-alpha.1, \< 3.0.0-alpha.2
- Npm multer (Npm): ≥ 2.0.0-alpha.1, \< 2.2.0 \| ≥ 3.0.0-alpha.1, \< 3.0.0-alpha.2

## References

- <https://github.com/expressjs/multer/security/advisories/GHSA-3p4h-7m6x-2hcm>
- <https://cna.openjsf.org/security-advisories.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5038>
- <https://github.com/expressjs/multer>

---

Data as of 2026-12-05T05:18:01.130Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
