Packages / multer / Security

ModerateVulnerabilityGHSA-3pph-fpjx-jg34CVE-2026-88932Published 28 Sep 2026

multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads

Your version

Affected releases · multer

  • 2.x2.2.0 – 2.3.0Fixed in 2.4.0

On 2.x, the newest line:

npm install multer@2.4.0
Every release on a timeline
  1. Not affected

    0.0.1 – 2.1.1

    37 releases

  2. Affected

    2.2.0 – 2.3.0

    2 releases

  3. Fixed

    2.4.0 – 2.5.0

    2 releases, latest

41 stable releases of multer, oldest to newest.

What happens

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.