CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-5038

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.3 · medium

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

Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required. Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path. Workarounds: None.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.367% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.3 · published by openjs
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:58:44.938Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:44.938ZCVE Program
epssverified2026-11-19T16:04:51.854ZFIRST EPSS
patchesverified2026-11-19T12:52:32.548ZOSV
affectedverified2026-11-19T12:58:44.938ZCVE Program
lifecycleverified2026-11-19T12:58:44.938ZCVE Program

Affected versions and configuration

multer multer; default status: unaffected: 2.0.0-alpha.1 to < 2.2.0 [affected; scheme: semver]; 2.2.0 [unaffected; scheme: semver]; 3.0.0-alpha.1 to < 3.0.0-alpha.2 [affected; scheme: semver]; 3.0.0-alpha.2 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "multer",
      "product": "multer",
      "versions": [
        {
          "status": "affected",
          "version": "2.0.0-alpha.1",
          "lessThan": "2.2.0",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "2.2.0",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "3.0.0-alpha.1",
          "lessThan": "3.0.0-alpha.2",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "3.0.0-alpha.2",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:npm/multer",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-5038",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-15T16:07:25.876003Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-15T16:07:45.114Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-3p4h-7m6x-2hcm",
  "aliases": [
    "CVE-2026-5038"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.0.0-alpha.1"
            },
            {
              "fixed": "2.2.0"
            }
          ]
        }
      ],
      "package": {
        "name": "multer",
        "purl": "pkg:npm/multer",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3p4h-7m6x-2hcm/GHSA-3p4h-7m6x-2hcm.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "3.0.0-alpha.1"
            },
            {
              "fixed": "3.0.0-alpha.2"
            }
          ]
        }
      ],
      "package": {
        "name": "multer",
        "purl": "pkg:npm/multer",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3p4h-7m6x-2hcm/GHSA-3p4h-7m6x-2hcm.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/expressjs/multer/security/advisories/GHSA-3p4h-7m6x-2hcm",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5038",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.openjsf.org/security-advisories.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/multer",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-459"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-15T16:16:34Z",
    "github_reviewed_at": "2026-06-17T18:11:48Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagemulterNot a distribution channel2.2.0Official record
ecosystem-boundarynpm / packagemulterNot a distribution channel3.0.0-alpha.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history