Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. multer
  4. ›
  5. CVE-2026-5038

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

June 17, 2026

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-5038 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0-alpha.1 before 2.2.0, all versions starting from 3.0.0-alpha.1 before 3.0.0-alpha.2

Fixed versions

  • 2.2.0
  • 3.0.0-alpha.2

Solution

Upgrade to versions 2.2.0, 3.0.0-alpha.2 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup

Source file

npm/multer/CVE-2026-5038.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:26 +0000.