Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-48997

CVE-2025-48997: Multer Middleware DoS Vulnerability

CVE-2025-48997 is a denial of service flaw in Multer node.js middleware that allows attackers to crash applications via empty field names. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-48997 Overview

CVE-2025-48997 is a Denial of Service (DoS) vulnerability in Multer, a popular Node.js middleware used for handling multipart/form-data in file upload operations. The vulnerability allows an attacker to crash the application process by sending a specially crafted upload request with an empty string field name. When the middleware encounters this malformed input, it triggers an unhandled exception (CWE-248: Uncaught Exception), causing the entire Node.js process to terminate unexpectedly.

Critical Impact

Applications using vulnerable versions of Multer can be crashed remotely by any unauthenticated attacker who can send multipart form data requests, potentially causing significant service disruption.

Affected Products

  • Multer versions 1.4.4-lts.1 through 2.0.0
  • Node.js applications using vulnerable Multer middleware
  • Express.js applications with multipart form handling via Multer

Discovery Timeline

  • June 3, 2025 - CVE-2025-48997 published to NVD
  • June 4, 2025 - Last updated in NVD database

Technical Details for CVE-2025-48997

Vulnerability Analysis

This vulnerability stems from improper input validation in the Multer middleware when processing multipart form data. When a file upload request contains a field with an empty string as its name, the middleware fails to handle this edge case gracefully. Instead of returning an error or rejecting the malformed input, the code path leads to an uncaught exception that propagates through the Node.js event loop.

The vulnerability is classified as CWE-248 (Uncaught Exception), indicating that the application does not properly catch or handle exceptional conditions during execution. In Node.js applications, uncaught exceptions that are not handled by process-level error handlers will terminate the entire process, making this particularly dangerous for production services.

Root Cause

The root cause is insufficient input validation in the field name parsing logic. The Multer middleware does not properly validate or sanitize the field name parameter before processing it. When an empty string is provided as a field name in a multipart form upload, the code attempts to process this value in a way that triggers an exception. The absence of a try-catch block or proper validation around this code path allows the exception to remain uncaught, ultimately crashing the Node.js process.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending a malformed HTTP POST request with multipart/form-data content type to any endpoint that uses the vulnerable Multer middleware for file uploads.

The exploitation process involves:

  1. Identifying an application endpoint that accepts file uploads via Multer
  2. Crafting a multipart form data request with a file field that has an empty string as its name
  3. Sending the malicious request to the target server
  4. The server process crashes upon processing the request

Since no authentication is required and the attack can be performed remotely over the network, this vulnerability poses a significant risk to the availability of affected applications. Repeated exploitation could be used to keep a service offline indefinitely.

Detection Methods for CVE-2025-48997

Indicators of Compromise

  • Unexpected Node.js process terminations or crashes in applications handling file uploads
  • Error logs showing uncaught exceptions originating from Multer middleware
  • Malformed multipart form requests with empty field names in access logs
  • Sudden service unavailability following file upload attempts

Detection Strategies

  • Monitor application logs for uncaught exception errors related to multipart form processing
  • Implement request logging and inspect multipart form data for empty field names
  • Use application performance monitoring (APM) tools to detect unexpected process restarts
  • Deploy web application firewall (WAF) rules to identify and block malformed multipart requests

Monitoring Recommendations

  • Enable verbose logging on file upload endpoints to capture field metadata
  • Configure alerting for Node.js process crashes or unexpected restarts
  • Monitor request patterns for potential DoS attack indicators such as repeated malformed uploads
  • Implement health check endpoints to detect service availability issues quickly

How to Mitigate CVE-2025-48997

Immediate Actions Required

  • Upgrade Multer to version 2.0.1 or later immediately
  • Review application dependencies using npm audit or similar tools to identify vulnerable versions
  • Implement process-level exception handlers as a temporary safeguard
  • Consider deploying rate limiting on file upload endpoints to reduce DoS impact

Patch Information

The vulnerability has been patched in Multer version 2.0.1. Users should update their dependency by running npm update multer or modifying their package.json to require version 2.0.1 or higher. The fix addresses the uncaught exception by properly validating field names before processing.

For detailed information about the patch, refer to the GitHub Security Advisory, the GitHub Commit, and the related Pull Request.

Workarounds

  • No official workarounds are available according to the security advisory
  • As a temporary measure, implement a custom middleware to validate field names before Multer processing
  • Consider using process managers like PM2 to automatically restart crashed processes
  • Deploy load balancers with health checks to route traffic away from crashed instances
bash
# Upgrade Multer to patched version
npm update multer@2.0.1

# Verify installed version
npm list multer

# Run security audit to check for other vulnerabilities
npm audit

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.07%

  • 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-248
  • Technical References
  • GitHub Commit Update

  • GitHub Issue Discussion

  • GitHub Pull Request Review

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-3520: Multer Node.js Middleware DoS Vulnerability

  • 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
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