{"id":"CVE-2026-5079","aliases":["CVE-2026-5079","GHSA-72gw-mp4g-v24j"],"related":[],"kind":"vulnerability","state":"published","title":"multer vulnerable to Denial of Service via deeply nested field names","summary":"Impact: multer versions 1.0.0 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service via deeply nested field names in multipart form data. The append-field dependency parses bracket notation in field names with no limit on nesting depth, allowing an attacker to force allocation of deeply nested object structures that consume CPU and memory. A single HTTP request with a crafted multipart body is sufficient to exploit this.\n\nPatches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease) and configure the new limits.fieldNestingDepth option to the minimum depth their application requires.\n\nWorkarounds: Set limits.fields to a reasonable value to reduce the number of fields an attacker can send per request. This does not fully mitigate the issue but limits the impact.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Impact: multer versions 1.0.0 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service via deeply nested field names in multipart form data. The append-field dependency parses bracket notation in field names with no limit on nesting depth, allowing an attacker to force allocation of deeply nested object structures that consume CPU and memory. A single HTTP request with a crafted multipart body is sufficient to exploit this.\n\nPatches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease) and configure the new limits.fieldNestingDepth option to the minimum depth their application requires.\n\nWorkarounds: Set limits.fields to a reasonable value to reduce the number of fields an attacker can send per request. This does not fully mitigate the issue but limits the impact.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nMulter is vulnerable to a Denial of Service (DoS) via deeply nested field names in multipart form data. The `append-field` dependency parses bracket notation in field names (e.g., `a[b][c]`) with no limit on nesting depth, allowing an attacker to force allocation of deeply nested object structures that consume CPU and memory. A single HTTP request with a crafted multipart body is sufficient to exploit this.\n\n### Patches\n\nUsers should upgrade to `2.2.0` and configure `limits.fieldNestingDepth` to the minimum depth their application requires.\n\n### Workarounds\n\nSet `limits.fields` to a reasonable value to reduce the number of fields an attacker can send per request. This does not fully mitigate the issue but limits the impact.","format":"markdown","source":"ghsa"}],"published":"2026-06-15T13:56:45.520Z","modified":"2026-06-17T18:26:29.243Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.0","fixed":"2.2.0","status":"affected"},{"type":"semver","version":"2.2.0","status":"unaffected"},{"type":"semver","introduced":"3.0.0-alpha.1","fixed":"3.0.0-alpha.2","status":"affected"},{"type":"semver","version":"3.0.0-alpha.2","status":"unaffected"}],"vendor":"multer","product":"multer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"2.2.0"}],"ecosystem":"npm","package":"multer","purl":"pkg:npm/multer","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0-alpha.1","status":"affected","fixed":"3.0.0-alpha.2"}],"ecosystem":"npm","package":"multer","purl":"pkg:npm/multer","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"2.2.0"},{"status":"affected","version":"3.0.0"}],"vendor":"expressjs","product":"multer","cpe":"cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/expressjs/multer/security/advisories/GHSA-72gw-mp4g-v24j","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5079","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/multer","tags":["package"],"sources":["ghsa"]}],"credits":["tndud042713","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-15T16:00:29.855Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5079","url":"https://www.cve.org/CVERecord?id=CVE-2026-5079","licence":"CVE Terms of Use","modified":"2026-06-15T16:00:43.955Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-72gw-mp4g-v24j","url":"https://github.com/advisories/GHSA-72gw-mp4g-v24j","licence":"CC-BY-4.0","modified":"2026-06-17T18:26:29.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5079","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5079","licence":"Public domain","modified":"2026-06-17T10:58:24.257Z"}],"updatedAt":"2026-11-25T22:59:24.639Z","epss":{"score":0.00325,"percentile":0.27593,"date":"2026-12-02T12:00:21.000Z"}}