{"id":"GHSA-3p4h-7m6x-2hcm","summary":"Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads","details":"### Impact\n\nA vulnerability in Multer allows an attacker to trigger a Denial of Service (DoS) by aborting or sending malformed multipart uploads, causing orphaned partial files to accumulate on disk when using diskStorage.\n\n### Patches\n\nUsers should upgrade to `2.2.0`, `3.0.0-alpha.2` or higher\n\n### Workarounds\n\nNone","aliases":["CVE-2026-5038"],"modified":"2026-06-17T18:26:29.614554Z","published":"2026-06-17T18:11:48Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-06-17T18:11:48Z","nvd_published_at":"2026-06-15T16:16:34Z","cwe_ids":["CWE-459"]},"references":[{"type":"WEB","url":"https://github.com/expressjs/multer/security/advisories/GHSA-3p4h-7m6x-2hcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5038"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"PACKAGE","url":"https://github.com/expressjs/multer"}],"affected":[{"package":{"name":"multer","ecosystem":"npm","purl":"pkg:npm/multer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0-alpha.1"},{"fixed":"2.2.0"}]}],"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"}},{"package":{"name":"multer","ecosystem":"npm","purl":"pkg:npm/multer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0-alpha.1"},{"fixed":"3.0.0-alpha.2"}]}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}