Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. multiparty
  4. ›
  5. CVE-2026-8159

CVE-2026-8159: multiparty vulnerable to ReDoS via filename parsing

May 18, 2026

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 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.

References

  • cna.openjsf.org/security-advisories.html
  • github.com/advisories/GHSA-65x3-rw7q-gx94
  • github.com/pillarjs/multiparty/releases/tag/v4.3.0
  • github.com/pillarjs/multiparty/security/advisories/GHSA-65x3-rw7q-gx94
  • nvd.nist.gov/vuln/detail/CVE-2026-8159
  • owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS

Code Behaviors & Features

Detect and mitigate CVE-2026-8159 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.3.0

Fixed versions

  • 4.3.0

Solution

Upgrade to version 4.3.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/multiparty/CVE-2026-8159.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:50 +0000.