The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-3520

CVE-2026-3520: Multer Node.js Middleware DoS Vulnerability

CVE-2026-3520 is a denial of service flaw in Multer Node.js middleware that allows attackers to trigger DoS via malformed requests causing stack overflow. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-3520 Overview

CVE-2026-3520 is a Denial of Service (DoS) vulnerability in Multer, a popular Node.js middleware used for handling multipart/form-data in web applications. The vulnerability exists in versions prior to 2.1.1 and allows attackers to trigger a stack overflow by sending specially crafted malformed requests to vulnerable endpoints.

Multer is widely used in Express.js applications for file upload functionality, making this vulnerability particularly concerning for web applications that accept user-uploaded content. An attacker can exploit this flaw to crash the Node.js process, resulting in service disruption for legitimate users.

Critical Impact

Unauthenticated remote attackers can cause complete application unavailability by sending malformed multipart requests, potentially leading to service outages for Node.js applications using vulnerable Multer versions.

Affected Products

  • Multer versions prior to 2.1.1
  • Node.js applications using vulnerable Multer middleware
  • Express.js applications with multipart/form-data file upload functionality

Discovery Timeline

  • 2026-03-04 - CVE-2026-3520 published to NVD
  • 2026-03-04 - Last updated in NVD database

Technical Details for CVE-2026-3520

Vulnerability Analysis

This vulnerability is classified under CWE-674 (Uncontrolled Recursion), indicating that the root cause involves recursive function calls that lack proper depth controls. When Multer processes multipart/form-data requests, certain malformed input can trigger excessive recursion in the parsing logic, ultimately exhausting the call stack and crashing the Node.js process.

The network-accessible nature of this vulnerability means that any exposed endpoint using Multer for file handling becomes a potential target. No authentication or user interaction is required to exploit this flaw, making it particularly dangerous for internet-facing applications.

Root Cause

The vulnerability stems from uncontrolled recursion during the parsing of malformed multipart/form-data requests. When processing certain malicious payloads, the Multer middleware enters a recursive call pattern without adequate depth checking or termination conditions. This leads to stack exhaustion as the recursion depth exceeds the JavaScript engine's call stack limits, resulting in a fatal error that crashes the application.

Attack Vector

The attack is network-based and requires no authentication or special privileges. An attacker can exploit this vulnerability by:

  1. Identifying an endpoint that uses Multer for handling file uploads
  2. Crafting a malformed multipart/form-data request designed to trigger the recursive parsing behavior
  3. Sending the malicious request to the target application
  4. The vulnerable Multer middleware attempts to parse the request, entering uncontrolled recursion
  5. The Node.js process crashes due to stack overflow, causing a denial of service

The attack can be repeated to maintain service disruption, as each restart of the application leaves it vulnerable to the same exploit until patched.

Detection Methods for CVE-2026-3520

Indicators of Compromise

  • Unusual increase in malformed multipart/form-data requests to file upload endpoints
  • Node.js application crashes with "RangeError: Maximum call stack size exceeded" errors
  • Multiple rapid restarts of Node.js processes handling file uploads
  • Abnormal request patterns targeting endpoints with Multer middleware

Detection Strategies

  • Monitor application logs for stack overflow exceptions and process crashes related to multipart parsing
  • Implement request rate limiting and anomaly detection on file upload endpoints
  • Deploy Web Application Firewall (WAF) rules to detect and block malformed multipart requests
  • Use application performance monitoring (APM) tools to track unusual memory and CPU patterns during request processing

Monitoring Recommendations

  • Configure alerting for Node.js process crashes and automatic restarts
  • Implement logging for all multipart/form-data parsing errors and exceptions
  • Monitor network traffic for unusually large or malformed Content-Type headers
  • Set up dashboards to track file upload endpoint availability and response times

How to Mitigate CVE-2026-3520

Immediate Actions Required

  • Upgrade Multer to version 2.1.1 or later immediately
  • Review all Node.js applications using Multer middleware to identify vulnerable instances
  • Implement request size limits and input validation at the network edge
  • Consider temporarily disabling file upload functionality if patching is delayed
  • Deploy WAF rules to filter potentially malicious multipart requests

Patch Information

The Multer development team has released version 2.1.1 which addresses this vulnerability. The fix is available in the GitHub commit. Users should update their package.json dependencies and run npm update multer or yarn upgrade multer to apply the patch.

For detailed information about this security issue, refer to the GitHub Security Advisory GHSA-5528-5vmv-3xc2 and the OpenJS Foundation Security Advisories.

Workarounds

  • No official workarounds are available according to the security advisory
  • Implement strict request size limits and rate limiting as a defense-in-depth measure
  • Consider using a reverse proxy to filter malformed requests before they reach the application
  • Deploy network-level protections to limit exposure of vulnerable endpoints
  • Monitor and auto-restart crashed processes while working toward patching
bash
# Update Multer to patched version
npm update multer@2.1.1

# Or using yarn
yarn upgrade multer@2.1.1

# Verify installed version
npm list multer

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMulter

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • OpenJS Foundation Security Advisories

  • GitHub Multer Commit Details

  • GitHub Security Advisory GHSA-5528-5vmv-3xc2

  • CVE-2026-3520 Record
  • Related CVEs
  • CVE-2026-2359: Multer Node.js Middleware DoS Vulnerability

  • CVE-2026-3304: Multer Node.js Middleware DoS Vulnerability

  • CVE-2025-7338: Multer Node.js Middleware DoS Vulnerability

  • CVE-2025-48997: Multer Middleware DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English