Multer
CVE-2026-3520
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Express app with upload endpoint
-
DeliveryCraft malformed multipart/form-data request
-
ExploitSubmit to Multer-handled route
-
ExecutionTrigger uncontrolled recursion
-
PersistStack overflow crashes Node.js process
-
ImpactRepeat to sustain denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires that the target application uses Multer (prior to 2.1.1) to process multipart/form-data and exposes a route that invokes Multer's parsing - i.e., any reachable file-upload or multipart form endpoint. The attacker sends malformed multipart request bodies that trigger the recursive parsing path; no authentication, credentials, or user interaction are needed (PR:N/UI:N), and the attack is over the network (AV:N) with low complexity (AC:L). The principal limiting factor is reachability: the application must actually wire Multer into an accessible endpoint, and any upstream proxy/WAF that strictly validates or caps multipart structure and size before it reaches Node.js can blunt the attack. Impact is limited to availability - the process crashes - with no data exposure or modification. |
| Impact | The signals are mixed but coherent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates the flaw is remotely reachable, low-complexity, and requires no authentication or user interaction - easy to trigger against any exposed upload endpoint. However, impact is strictly availability (VC:N/VI:N/VA:H): no data disclosure or integrity loss, only a crash. The score of 8.7 (high) reflects that easy-to-reach availability impact. Counterbalancing this, the EPSS probability is very low (0.06%, 18th percentile), the CVE is NOT in CISA KEV, and no public exploit has been identified, so there is no evidence of active or imminent widespread exploitation. Net assessment: this is a genuine, easy-to-trigger availability risk for internet-facing Express applications that accept file uploads, and should be patched promptly, but it is not a confidentiality/integrity breach and current real-world exploitation pressure appears low. No conflicting signals were detected between the vector and description - both consistently describe a remote, no-auth DoS. |
| Exploit ScenarioDerived | An attacker identifies an internet-facing Express.js application that uses Multer to accept file or form uploads, then sends a specially crafted malformed multipart/form-data request to the upload endpoint. The deeply nested or malformed structure drives Multer into uncontrolled recursion, causing a stack overflow that crashes the Node.js process and takes the service offline; repeated requests sustain the outage. No public exploit code has been identified, and given AV:N/AC:L/PR:N/UI:N the request can be sent remotely with no authentication and minimal effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 30, 2026
Denial of service in Multer (Express.js multipart/form-data middleware) before version 2.1.1 allows remote unauthenticated attackers to crash a Node.js application by sending specially malformed multipart requests that trigger uncontrolled recursion and stack overflow. Affecting one of the most widely used file-upload middlewares in the Node.js/Express ecosystem, the flaw carries a CVSS 4.0 base score of 8.7 with availability-only impact. There is no public exploit identified at time of analysis and the EPSS score is very low (0.06%, 18th percentile), but a vendor patch and Red Hat errata are available.
Earlier versions of this analysis (4)
Denial of service in Multer (the Express.js multipart/form-data upload middleware for Node.js) before version 2.1.1 lets a remote, unauthenticated attacker crash the server by sending specially malformed multipart requests that trigger uncontrolled recursion and a stack overflow. Any web application using a vulnerable Multer version to accept file or form uploads is affected, and no public exploit has been identified at time of analysis though EPSS risk is low (0.06%). The flaw is availability-only - there is no data exposure or code execution - but it is trivially reachable on default upload endpoints.
Denial of service in Multer, the Express.js multipart/form-data upload middleware, lets remote unauthenticated attackers crash a Node.js process by sending malformed multipart requests that trigger uncontrolled recursion and a stack overflow. All versions prior to 2.1.1 are affected; the CVSS 4.0 base score is 8.7 (availability-only impact) but EPSS sits at just 0.06% (18th percentile) and there is no public exploit identified at time of analysis. Because Multer is the standard file-upload component for countless Express applications, any endpoint accepting uploads is potentially reachable.
Denial of service in Multer, the Express/Node.js middleware for handling multipart/form-data uploads, affects all versions prior to 2.1.1: a remote attacker can send malformed multipart requests that drive uncontrolled recursion and exhaust the stack, crashing the Node.js process. The flaw is network-reachable without authentication or user interaction (CVSS 4.0 8.7, availability-only impact), but EPSS is very low (0.06%, 18th percentile) and there is no public exploit identified at time of analysis nor any CISA KEV listing. A vendor patch (2.1.1, commit 7e66481) is available and no workarounds exist, so upgrading is the only remedy.
Multer is a node.js middleware for handling multipart/form-data. A vulnerability in Multer prior to version 2.1.1 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing stack overflow. [CVSS 7.5 HIGH]
RemediationAI
Upgrade Multer to version 2.1.1 or later, which contains the patch (upstream fix commit 7e66481f8b2e6c54b982b34c152479e096ce2752, vendor advisory GHSA-5528-5vmv-3xc2). Vendor-released patch: 2.1.1. The vendor states no known workarounds are available, so patching is the only complete remediation. Red Hat users should apply the corresponding distribution errata RHSA-2026:6174 or RHSA-2026:6802. Until the upgrade can be deployed, the only meaningful compensating controls are infrastructure-level: place a reverse proxy or WAF in front of upload endpoints to enforce strict limits on multipart body size and part count, and restrict or rate-limit access to file-upload routes to reduce the crash surface - with the trade-off that legitimate large or complex uploads may be rejected and these controls do not address the underlying recursion flaw. Process supervisors (PM2, systemd, container restart policies) should be in place to auto-restart crashed Node.js workers, though this only limits downtime rather than preventing the DoS.
Affected Packages
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
Multer is Express.js middleware that parses incoming multipart/form-data request bodies, primarily for handling file uploads. The vulnerability is classified as CWE-674 (Uncontrolled Recursion): malformed multipart input drives the parser into excessively deep or unbounded recursive processing, exhausting the call stack and producing a stack overflow that terminates the Node.js process. Because Node.js runs application logic in a single main event-loop thread, an unhandled crash of this kind takes down the entire service rather than an isolated worker. The affected component is identified by CPE cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:*, covering all releases prior to 2.1.1.
Know when Multer 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote, no-auth, low-complexity malformed request reaches the upload endpoint (AV:N/AC:L/PR:N/UI:N); impact is a process crash only, so C:N/I:N/A:H with unchanged scope.
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
7DescriptionCVE.org
Multer is a node.js middleware for handling multipart/form-data. A vulnerability in Multer prior to version 2.1.1 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing stack overflow. Users should upgrade to version 2.1.1 to receive a patch. No known workarounds are available.
Executive ViewAI
Multer, a widely deployed file-upload middleware for Express.js applications, contains a remote denial-of-service vulnerability (CVE-2026-3520) that allows unauthenticated attackers to crash affected Node.js services through malformed multipart requests. While current threat likelihood remains minimal (EPSS 0.1%), the middleware's prevalence across the Node.js ecosystem and high CVSS score (8.7) create meaningful risk of service disruption if left unpatched. Immediate inventory and patching to version 2.1.1 is required to eliminate this availability risk.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Denial of service in Multer (the Express/Node.js multipart/form-data middleware) before version 2.1.0 lets remote attack
Denial of service in Multer (Express.js multipart/form-data middleware) before version 2.1.0 lets remote unauthenticated
File descriptor exhaustion in multer 2.2.0's DiskStorage engine allows remote unauthenticated attackers to cause denial
Remote denial-of-service in the Node.js multer middleware (all versions before 2.3.0) allows unauthenticated attackers t
Event loop exhaustion in multer (all versions before 2.3.0) allows unauthenticated remote attackers to render a Node.js
Denial of service in the Express.js multer middleware (versions 1.0.0 through 2.1.1 and 3.0.0-alpha.1) allows unauthenti
Denial of service in Multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 allows remote unauthenticated attacke
Applications that configure the multer upload middleware (npm package, versions 2.0.0 through 2.4.x) with an asynchronou
Disk space exhaustion in multer 2.2.0-2.3.0 allows a remote unauthenticated attacker to repeatedly start and abort multi
Race condition in multer's file stream handling allows uploaded files exceeding the configured fileSize limit to bypass
GHSA-5528-5vmv-3xc2
NVD
CVE.org
EPSS
VulDB
Exploit-DB