GitHub Advisoryadvisory · npm

GHSA-3pph-fpjx-jg34 multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads

MEDIUM Published 2026-09-28 Modified 2026-09-28 Official page ↗
Aliases
CVE-2026-88932
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-400, CWE-459
Reviewed
2026-09-28

Affected packages

• npm multer: >= 2.2.0, < 2.4.0 → fixed in 2.4.0

Description

Impact Multer's `diskStorage` can leave complete, orphaned files on disk when a multipart upload is aborted in the brief window before the storage engine assigns the file path. This is an incomplete fix of CVE-2026-5038: the earlier cleanup removes only in-flight uploads that already have a path, so an upload aborted inside that window is written to disk with nothing left to remove it, and the application is not given a handle to clean it up. An unauthenticated attacker sending aborted requests to any route backed by disk storage can accumulate orphaned files until the upload directory or the shared system temporary directory is exhausted. An asynchronous `destination` or `filename` widens the window. Patches Users should upgrade to `2.4.0` or higher. Workarounds None.

Related

Alias · CVE (1)

  • CVE-2026-88932 multer is a Node.js middleware for handling multipart/form-data uploads. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-459 Incomplete Cleanup weakness

References