CVE-2026-5038
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 openjsCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:44.938Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.854Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:32.548Z | OSV |
| affected | verified | 2026-11-19T12:58:44.938Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:44.938Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | multer | Not a distribution channel | 2.2.0 | Official record |
| ecosystem-boundary | npm / package | multer | Not a distribution channel | 3.0.0-alpha.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:32.548ZArchived source JSON
Source publication: 2026-06-17T18:11:48.000Z
Source modification: 2026-06-17T18:26:29.614ZDocument fingerprint
0a3128b4de3dd8cb3728a9fc201af20954e83f18efdcab6f570d116c379568fa - CVE ProgramConsulted: 2026-11-19T12:58:44.938ZArchived source JSON
Source publication: 2026-06-15T14:23:24.230Z
Source modification: 2026-06-15T16:07:45.114ZDocument fingerprint
ff86188909a3532d001669761bd218b2ee4d21dbc16e6d069d9afadcded66760 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:51.854ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
70dc132844bce71c65be43721c4018f559ab88c4e98a9a01125f21b4edae2e75
Official status history
- UNKNOWN → PUBLISHED · · evidence