{"id":"CVE-2026-8159","aliases":["CVE-2026-8159","GHSA-65x3-rw7q-gx94"],"related":[],"kind":"vulnerability","state":"published","title":"multiparty vulnerable to ReDoS via filename parsing","summary":"multiparty@4.2.3 and lower versions are vulnerable to denial of service via regular expression backtracking in the Content-Disposition filename parameter parser. A crafted multipart upload with a long header value can cause regex matching to take seconds, blocking the event loop. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: limiting upload sizes at the proxy or gateway layer reduces but does not eliminate the attack surface, since a small header of around 8 KB is sufficient to trigger the vulnerable backtracking. Upgrade to multiparty@4.3.0 or higher.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"multiparty@4.2.3 and lower versions are vulnerable to denial of service via regular expression backtracking in the Content-Disposition filename parameter parser. A crafted multipart upload with a long header value can cause regex matching to take seconds, blocking the event loop. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: limiting upload sizes at the proxy or gateway layer reduces but does not eliminate the attack surface, since a small header of around 8 KB is sufficient to trigger the vulnerable backtracking. Upgrade to multiparty@4.3.0 or higher.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nmultiparty@4.2.3 and lower versions are vulnerable to denial of service via regular expression backtracking in the `Content-Disposition` filename parameter parser. A multipart upload with a long header value containing `!filename=\"1` repeated can cause regex matching to take seconds, blocking the event loop. Any service accepting multipart uploads via multiparty is affected.\n\n### Patches\n\nUsers should upgrade to multiparty@4.3.0 or higher.\n\n### Workarounds\n\nNone. Limiting upload sizes at the proxy/gateway layer reduces but does not eliminate the attack surface, since a small ~8 KB header is sufficient to trigger the vulnerable backtracking.\n\n### Resources\n\n- [OWASP: Regular expression Denial of Service (ReDoS)](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS)","format":"markdown","source":"ghsa"},{"lang":"es","text":"multiparty@4.2.3 y versiones anteriores son vulnerables a denegación de servicio a través de retroceso de expresiones regulares en el analizador del parámetro de nombre de archivo Content-Disposition. Una carga multipart elaborada con un valor de encabezado largo puede hacer que la coincidencia de expresiones regulares tarde segundos, bloqueando el bucle de eventos. Impacto: cualquier servicio que acepte cargas multipart a través de multiparty se ve afectado. Soluciones alternativas: limitar los tamaños de carga en la capa de proxy o pasarela reduce pero no elimina la superficie de ataque, ya que un encabezado pequeño de alrededor de 8 KB es suficiente para activar el retroceso vulnerable. Actualice a multiparty@4.3.0 o superior.","source":"nvd"}],"published":"2026-05-12T08:35:39.564Z","modified":"2026-11-11T20:10:00.273Z","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-1333"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.2.3","status":"affected"},{"type":"semver","version":"4.3.0","status":"unaffected"}],"vendor":"multiparty","product":"multiparty","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.3.0"}],"ecosystem":"npm","package":"multiparty","purl":"pkg:npm/multiparty","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.3.0"}],"vendor":"pillarjs","product":"multiparty","cpe":"cpe:2.3:a:pillarjs:multiparty:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pillarjs/multiparty/security/advisories/GHSA-65x3-rw7q-gx94","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS","tags":["not-applicable","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8159","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pillarjs/multiparty","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pillarjs/multiparty/releases/tag/v4.3.0","tags":["web"],"sources":["ghsa"]}],"credits":["aszx87410","Blake Embrey","Ulises Gascón"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-12T12:33:48.310Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8159","url":"https://www.cve.org/CVERecord?id=CVE-2026-8159","licence":"CVE Terms of Use","modified":"2026-05-12T12:33:59.418Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-65x3-rw7q-gx94","url":"https://github.com/advisories/GHSA-65x3-rw7q-gx94","licence":"CC-BY-4.0","modified":"2026-05-18T17:56:25.576Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8159","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8159","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.345Z","epss":{"score":0.0044,"percentile":0.4002,"date":"2026-12-01T12:00:22.000Z"}}