GitHub Advisoryadvisory · npm

GHSA-3p4h-7m6x-2hcm Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads

MEDIUM Published 2026-06-17 Modified 2026-06-17 Official page ↗
Aliases
CVE-2026-5038
Ecosystem
npm
Packages
multer
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-459
Reviewed
2026-06-17

Affected packages

• npm multer: >= 2.0.0-alpha.1, < 2.2.0 → fixed in 2.2.0 • npm multer: >= 3.0.0-alpha.1, < 3.0.0-alpha.2 → fixed in 3.0.0-alpha.2

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

Related

Alias · CVE (1)

  • CVE-2026-5038 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. vulnerability

Weakness · CWE (1)

  • CWE-459 Incomplete Cleanup weakness

References