CVE-2026-8159: Multiparty Denial of Service Vulnerability
HIGHCVE-2026-8159 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Multiparty libraries in the npm ecosystem. The issue involves multiparty vulnerable to redos via filename parsing. Remediation is available by upgrading affected packages to version 4.3.0.
CVE-2026-8159 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-8159
To remediate this vulnerability, upgrade all affected Multiparty dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install multiparty@4.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls multiparty
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-8159, inspect your project dependencies using npm:
npm ls multiparty
Analyze the terminal output to locate any version of Multiparty in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.0), your application is affected.
Note: The npm ls multiparty command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Multiparty, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-8159 Affected Multiparty Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
multiparty
|
npm |
< 4.3.0
|
4.3.0
|
References
Frequently Asked Questions
What is CVE-2026-8159?
Which Multiparty versions are affected?
What version fixes CVE-2026-8159?
Is multiparty affected?
What is the CVSS score of CVE-2026-8159?
What CWE is associated with CVE-2026-8159?
How can I check npm dependencies for CVE-2026-8159?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-65x3-rw7q-gx94",
"modified" : "2026-05-18T17:40:10Z",
"published" : "2026-05-18T17:40:10Z",
"aliases" : [ "CVE-2026-8159" ],
"summary" : "multiparty vulnerable to ReDoS via filename parsing",
"details" : "### 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)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "multiparty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.3.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pillarjs/multiparty/security/advisories/GHSA-65x3-rw7q-gx94"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-8159"
}, {
"type" : "WEB",
"url" : "https://cna.openjsf.org/security-advisories.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pillarjs/multiparty"
}, {
"type" : "WEB",
"url" : "https://github.com/pillarjs/multiparty/releases/tag/v4.3.0"
}, {
"type" : "WEB",
"url" : "https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T17:40:10Z",
"nvd_published_at" : "2026-05-12T10:16:48Z"
}
}