Process crash in multer after aborted upload with async fileFilter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-248.
Summary
The multer middleware for Node.js from 2.0.0 before 2.5.0 can be crashed by one upload request. An aborted request while an asynchronous fileFilter is pending leaves a torn-down parser stream that emits an error with no listener, which makes Node.js exit the process. An unauthenticated remote attacker needs only one request, and applications are affected whatever their storage engine. The weakness is CWE-248.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
multer is a middleware for Node.js that handles multipart/form-data file uploads. In versions from 2.0.0 before 2.5.0, when multer is configured with an asynchronous fileFilter, a single request can crash the Node.js process. If the request is aborted while one file's asynchronous fileFilter is still pending, the pending callback later resumes a parsing stream that multer has already torn down, and the underlying parser emits an error on a stream that no longer has an error listener, which Node raises as an unhandled error event so the process exits. Any application using multer with an asynchronous fileFilter is affected regardless of storage engine, while uploads using a synchronous fileFilter are not affected. The issue is fixed in multer 2.5.0, and users should upgrade to 2.5.0 or later. As a workaround, use a synchronous fileFilter.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| expressjs | multer | 2.0.0 to before 2.5.0 | 2.5.0 | Patch available | CNA |
| — | multer (npm) | 2.0.0 to before 2.5.0 | 2.5.0 | Patch available | GHSA-q7qp-rjg7-q26m |
- multer Vendorexpressjs Affected 2.0.0 to before 2.5.0 Fixed in 2.5.0 Patch available CNA
- multer (npm) Vendor— Affected 2.0.0 to before 2.5.0 Fixed in 2.5.0 Patch available GHSA-q7qp-rjg7-q26m
Remediation
Upgrade the npm package multer to 2.5.0 or later, which fixes the issue. As a workaround, use a synchronous fileFilter. Red Hat lists no available fix plan for Red Hat Developer Hub 1 and Self-service automation portal 2.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA multer (multer) Fixed in 2.5.0
- Fix · GHSA-q7qp-rjg7-q26m multer (npm) Fixed in 2.5.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Hub 1 | Affected | No fix yet |
| Self-service automation portal 2 | Affected | No fix yet |
Not affected: 1 product
- Red Hat 3scale API Management Platform 2
Timeline
- 2026-10-22 Threatist record created from CVE-2026-113872
- 2026-10-22 CISA SSVC decision points changed
- 2026-10-22 Priority changed: MEDIUM → LOW
- 2026-10-23 Affected versions changed · Red Hat
- 2026-10-23 CVSS score added · Red Hat
- 2026-10-23 Alias added: GHSA-q7qp-rjg7-q26m
- 2026-10-23 Fix available: npm/[email protected] · GHSA-q7qp-rjg7-q26m
- 2026-10-23 CVSS score added · GHSA-q7qp-rjg7-q26m
- 2026-10-23 Weakness changed · GHSA-q7qp-rjg7-q26m
- 2026-10-23 6 new references · GHSA-q7qp-rjg7-q26m
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
References
Other 5
More expressjs vulnerabilities
- TI-2024-08602 Open redirect in expressjs express CVSS 3.1MEDIUM 4.7
- TI-2026-03033 Multer vulnerable to Denial of Service via uncontrolled recursion CVSS 4.0HIGH 8.7
- TI-2026-02853 Multer vulnerable to Denial of Service via incomplete cleanup CVSS 4.0HIGH 8.7
- TI-2026-01995 Multer vulnerable to Denial of Service via resource exhaustion CVSS 4.0HIGH 8.7
- TI-2025-31125 Multer vulnerable to Denial of Service via unhandled exception CVSS 4.0HIGH 8.7
- TI-2025-30337 Multer vulnerable to Denial of Service from maliciously crafted requests CVSS 3.1HIGH 7.5
Sources
- CVE-2026-113872 · CVE Program
- CVE-2026-113872 · NVD
- FIRST EPSS
- GHSA-q7qp-rjg7-q26m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-113872 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences