Skip to main content

CVE-2026-5038 — Vulnerability in multer — CVE Details

MEDIUM

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

Published June 17, 2026Updated June 17, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.49%). Schedule for your next planned update.

Does your project use an affected multer version?

Paste your package-lock.json to check it for CVE-2026-5038 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

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

Advisory Timeline

  • First published June 17, 2026 (162 days ago).
  • Last revised June 17, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update multer to 3.0.0-alpha.2 or later
npm install multer@3.0.0-alpha.2
npm
Update multer to 2.2.0 or later
npm install multer@2.2.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: npm (1).

PackageFixed In
multer npm · Affected: All versions3.0.0-alpha.2
multer npm · Affected: All versions2.2.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Frequently Asked Questions

What is CVE-2026-5038?
Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
How do I check if my project is affected by CVE-2026-5038?
CVE-2026-5038 affects multer. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-5038 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.3

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.49%
EPSS percentile: 34.7

This is a below-median EPSS score — only 34.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-3p4h-7m6x-2hcm

Related CVEs

  • CVE-2026-82333
    HIGH

    multer vulnerable to Denial of Service via oversized array index in field names

  • CVE-2026-3520
    HIGH

    Multer Vulnerable to Denial of Service via Uncontrolled Recursion

  • CVE-2026-5079
    HIGH

    Multer vulnerable to Denial of Service via deeply nested field names

  • CVE-2025-7338
    HIGH

    Multer vulnerable to Denial of Service via unhandled exception from malformed request

  • CVE-2026-113872
    HIGH

    multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown

  • CVE-2026-2359
    HIGH

    Multer vulnerable to Denial of Service via resource exhaustion

  • CVE-2026-77078
    HIGH

    multer vulnerable to Denial of Service via crafted multipart field names

  • CVE-2026-77063
    LOW

    multer vulnerable to file size limit bypass via async fileFilter race condition

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json