Skip to main content

multiparty CVE-2026-8159

| EUVDEUVD-2026-29439 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-05-12 openjs GHSA-65x3-rw7q-gx94
7.5
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify multiparty endpoint
  2. Delivery
    Craft malicious Content-Disposition header
  3. Exploit
    Send multipart POST request
  4. Install
    Trigger regex backtracking
  5. C2
    Block Node.js event loop
  6. Execute
    Exhaust worker threads
  7. Impact
    Achieve denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated exploitation against default configurations of multiparty ≤4.2.3. No special conditions required - any endpoint that accepts multipart/form-data uploads via the vulnerable library is exploitable. The application does not need to process or store the uploaded file; the vulnerability triggers during header parsing before file handling logic executes. The 8 KB Content-Disposition header size is well within default Node.js and HTTP server limits (typically 8-16 MB for headers, 80-100 KB per header field). Exploitation success does not depend on file upload completing, user interaction, authentication, or specific application logic beyond invoking multiparty's parse methods. Limiting factors: if a reverse proxy or WAF enforces unusually strict Content-Disposition header length limits below 4 KB, attack surface is reduced but not eliminated as shorter patterns may still cause measurable delays. Applications that implement aggressive request timeouts below 2 seconds at the infrastructure layer may abort requests before full impact, though repeated attempts still degrade availability.

Impact

Real-world risk is HIGH despite moderate CVSS 7.5 score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates any internet-facing service can be exploited without authentication or user interaction, making this trivially automatable. Attack complexity is LOW - adversaries only need to craft malicious multipart headers, which requires minimal skill. The 8 KB trigger threshold means attacks bypass typical file size limits and can be embedded in legitimate-looking requests. EPSS data is unavailable for prioritization, but no CISA KEV listing suggests exploitation is not yet widespread. However, the public GitHub Security Advisory (GHSA-65x3-rw7q-gx94) provides complete technical details and likely a proof-of-concept, significantly lowering the barrier to weaponization. SSVC factors: Exploitation is Public (advisory published), Automatable is Yes (simple HTTP request), Technical Impact is Partial (availability only). The asymmetric cost-to-attack ratio (8 KB input causes seconds of CPU burn) makes this attractive for DDoS amplification. Priority: any production service using multiparty ≤4.2.3 for file uploads should patch immediately, especially customer-facing APIs and form endpoints.

Exploit ScenarioDerived

An attacker identifies a web application using multiparty by fingerprinting error messages or analyzing client-side JavaScript that posts to multipart endpoints. They craft an HTTP POST request with Content-Type: multipart/form-data and inject a Content-Disposition header containing a filename parameter with 8,000 characters in a pattern that triggers regex backtracking (e.g., repeating ambiguous token sequences like multiple quoted substrings or nested escape characters). Upon receiving the request, the Node.js server's multiparty parser invokes the vulnerable regex, entering exponential time complexity matching. The event loop blocks for 5-15 seconds per request while the regex engine backtracks through possible match states. The attacker scripts 100 concurrent requests from a botnet, causing all application worker threads to hang simultaneously. Legitimate users experience complete service unavailability as the queue fills and timeouts cascade. The application becomes unresponsive despite low bandwidth consumption (under 1 MB total payload), making traditional DDoS defenses ineffective. Detailed technical advisory at https://github.com/pillarjs/multiparty/security/advisories/GHSA-65x3-rw7q-gx94 likely includes header pattern examples that reduce barrier to exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 12, 2026

Regular expression denial of service in multiparty (npm package) versions 4.2.3 and below allows remote unauthenticated attackers to block the Node.js event loop for seconds via crafted Content-Disposition headers in multipart uploads. The vulnerability triggers catastrophic backtracking in the filename parameter parser with headers as small as 8 KB. Fixed in multiparty 4.3.0. EPSS data not available; no active exploitation confirmed at time of analysis, but the low complexity (AV:N/AC:L/PR:N/UI:N) and availability of detailed public advisory increase weaponization risk for any web service accepting file uploads through this library.

RemediationAI

Upgrade multiparty to version 4.3.0 or higher immediately, which contains the patched regex pattern that eliminates catastrophic backtracking. Update package.json dependency and run npm update multiparty or yarn upgrade multiparty, then verify the installed version with npm list multiparty. Review transitive dependencies using npm ls multiparty to identify indirect inclusions through other packages like connect-multiparty or formidable-based middleware. If immediate upgrade is blocked by compatibility testing, implement compensating controls: deploy rate limiting at the reverse proxy layer (e.g., nginx limit_req or AWS WAF) to restrict requests per IP to 10-20/minute; add application-level request timeout middleware that aborts processing after 2-3 seconds using Node.js AbortController; configure web application firewalls to inspect and block multipart requests with Content-Disposition headers exceeding 4 KB; implement request queue depth limits to prevent event loop starvation under attack. Note these mitigations reduce but do not eliminate risk, as the 8 KB trigger is below most size limits, and sophisticated attackers can rotate IPs to bypass rate limiting. Long-term, eliminate this library if not actively maintained or migrate to alternatives like busboy (4.x+) or formidable that have addressed ReDoS concerns. Reference the OpenJS Foundation security advisories at https://cna.openjsf.org/security-advisories.html and OWASP ReDoS guidance at https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS for detection patterns.

Affected VersionsENISA

multiparty 0 ≤4.2.3

Affected Packages

npm multiparty fix: 4.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

multiparty is a popular Node.js middleware library for parsing multipart/form-data, commonly used in Express.js and similar frameworks for handling file uploads. The vulnerability resides in CWE-1333 (Inefficient Regular Expression Complexity), specifically in the regex pattern used to parse the Content-Disposition filename parameter during multipart boundary processing. Regular expression denial of service (ReDoS) occurs when a regex engine exhibits exponential time complexity on certain input patterns, causing catastrophic backtracking. In Node.js single-threaded event loop architecture, regex operations are synchronous and blocking, meaning a slow regex match freezes the entire application. The affected CPE cpe:2.3:a:multiparty:multiparty:*:*:*:*:*:*:*:* covers all versions below the patched release. The OpenJS Foundation (package reporter) maintains this library as part of the pillarjs organization's HTTP utility ecosystem.

Know when Multiparty gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (openjs) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (openjs) · only source for this CVE.

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 43 npm packages depend on multiparty (3 direct, 41 indirect)

Ecosystem-wide dependent count for version 4.3.0.

Executive ViewAI

Why It Matters

The multiparty npm package (versions ≤4.2.3) contains a regular expression denial of service vulnerability that allows unauthenticated attackers to exhaust Node.js server resources through malformed file upload headers, potentially causing service unavailability for any web application using this library to process uploads. Organizations running affected versions face immediate risk of application performance degradation or complete outage with minimal attacker effort.

Business Impact: High
Compensating Controls

Vendor-released patch: multiparty 4.3.0. Until patching is complete, implement network-level or application-level rate limiting on file upload endpoints, enforce maximum Content-Disposition header size validation (reject headers >1 KB), and configure Node.js process monitoring with automatic restart on event loop stalls exceeding 5 seconds.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Threat Intel
1
1 source
Social Media
3
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy