Skip to content
Heist/ feed
UnratedFix available

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

Type: advisorySource: OSV1 source record

### 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.

Announced Source revision 1
Original source ↗

GHSA-3pph-fpjx-jg34

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-3pph-fpjx-jg34

multer

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
2.4.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "2.2.0"
          },
          {
            "fixed": "2.4.0"
          }
        ]
      }
    ],
    "package": {
      "name": "multer",
      "purl": "pkg:npm/multer",
      "ecosystem": "npm"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-3pph-fpjx-jg34/GHSA-3pph-fpjx-jg34.json"
    }
  }
]
Related CVEs
CVE-2026-88932

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Event
#23691 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement