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

CVE-2025-24033: Fastify Multipart Information Disclosure

CVE-2025-24033 is an information disclosure vulnerability in @fastify/multipart where temporary files remain after request cancellation, potentially exposing sensitive data. This article covers technical details, affected versions, and fixes.

Updated: January 22, 2026

CVE-2025-24033 Overview

CVE-2025-24033 is a resource exhaustion vulnerability in @fastify/multipart, a Fastify plugin for parsing multipart content-type data. The vulnerability exists in the saveRequestFiles function, which fails to delete uploaded temporary files when a user cancels the request mid-upload. This behavior can lead to disk space exhaustion on servers handling file uploads, potentially causing denial of service conditions.

Critical Impact

Attackers can exploit this vulnerability to consume all available disk space on affected servers by repeatedly initiating and canceling file upload requests, leading to service disruption and potential system instability.

Affected Products

  • @fastify/multipart versions prior to 8.3.1
  • @fastify/multipart versions 9.x prior to 9.0.3
  • Fastify applications using the saveRequestFiles function

Discovery Timeline

  • 2025-01-23 - CVE CVE-2025-24033 published to NVD
  • 2025-01-23 - Last updated in NVD database

Technical Details for CVE-2025-24033

Vulnerability Analysis

This vulnerability stems from improper resource management (CWE-770: Allocation of Resources Without Limits or Throttling) within the @fastify/multipart plugin. The saveRequestFiles function is designed to handle multipart file uploads by temporarily storing files on the server's filesystem. However, when a client abruptly terminates or cancels an upload request, the function fails to properly clean up the partially uploaded temporary files.

Over time, or through deliberate exploitation, this can result in significant disk space consumption. An attacker with network access can exploit this flaw by repeatedly initiating file upload requests and immediately canceling them, causing temporary files to accumulate without being cleaned up. Since no authentication or special privileges are required to trigger this behavior, the vulnerability is accessible to any remote attacker who can reach the affected endpoint.

Root Cause

The root cause lies in the cleanup logic of the saveRequestFiles function. When a request is completed normally, the function properly handles temporary file deletion. However, the event handlers for client disconnection or request abortion do not trigger the necessary cleanup routines. This oversight means that any interrupted upload leaves orphaned files in the temporary directory.

The vulnerability is classified under CWE-770 because the application allocates filesystem resources (temporary files) without implementing proper limits or cleanup mechanisms for abnormal request termination scenarios.

Attack Vector

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

  1. Identifying an endpoint in a Fastify application that uses saveRequestFiles for handling multipart uploads
  2. Initiating multiple concurrent file upload requests to the vulnerable endpoint
  3. Abruptly terminating each connection before the upload completes
  4. Repeating this process to exhaust available disk space on the target server

The attack is particularly effective because each canceled request consumes a portion of disk space that is never reclaimed, and there are no built-in rate limits or cleanup mechanisms to mitigate the accumulation.

Detection Methods for CVE-2025-24033

Indicators of Compromise

  • Unusual growth in the size of temporary directories on servers running Fastify applications
  • Abnormally high number of incomplete or orphaned files in the temporary upload directory
  • Increased disk utilization without corresponding increase in legitimate file uploads
  • Multiple connection resets or aborted requests to file upload endpoints in web server logs

Detection Strategies

  • Monitor disk space utilization on servers running Fastify applications with file upload functionality
  • Implement alerting for rapid growth in temporary directory sizes
  • Analyze web server logs for patterns of repeated, incomplete multipart upload requests from the same source
  • Track and alert on high volumes of connection resets to upload endpoints

Monitoring Recommendations

  • Set up filesystem monitoring to alert when temporary directories exceed normal thresholds
  • Implement log analysis rules to detect patterns of repeated canceled upload requests
  • Monitor network traffic for unusually high volumes of partial POST requests to multipart endpoints
  • Deploy automated cleanup scripts to periodically remove stale temporary files as a secondary defense

How to Mitigate CVE-2025-24033

Immediate Actions Required

  • Upgrade @fastify/multipart to version 8.3.1 or later for 8.x installations
  • Upgrade @fastify/multipart to version 9.0.3 or later for 9.x installations
  • Audit application code to identify all endpoints using the saveRequestFiles function
  • Implement disk space monitoring and alerts on affected servers
  • Review and clean up any accumulated temporary files in upload directories

Patch Information

The vulnerability has been addressed in @fastify/multipart versions 8.3.1 and 9.0.3. The patches modify the saveRequestFiles function to properly register cleanup handlers for request cancellation events, ensuring temporary files are deleted regardless of how the request terminates.

For detailed information about the fix, see the GitHub Pull Request and the GitHub Security Advisory GHSA-27c6-mcxv-x3fh.

Workarounds

  • Avoid using the saveRequestFiles function until the patched version can be deployed
  • Implement custom file upload handling that includes explicit cleanup on request abort events
  • Set up a cron job or scheduled task to periodically clean up orphaned temporary files
  • Implement rate limiting on file upload endpoints to slow down potential exploitation attempts
  • Configure filesystem quotas on temporary directories to limit maximum disk space consumption
bash
# Example cron job to clean up orphaned temp files older than 1 hour
# Add to crontab with: crontab -e
0 * * * * find /tmp/fastify-multipart-* -type f -mmin +60 -delete 2>/dev/null

# Alternative: Set up disk space monitoring alert
df -h /tmp | awk 'NR==2 {if ($5+0 > 80) print "WARNING: Temp directory usage at "$5}'

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechFastify

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Issue Discussion

  • GitHub Pull Request

  • GitHub Security Advisory GHSA-27c6-mcxv-x3fh
  • Related CVEs
  • CVE-2026-33805: Fastify Information Disclosure Vulnerability

  • CVE-2026-33804: Fastify Middie Auth Bypass Vulnerability

  • CVE-2026-6410: Fastify Static Path Traversal Vulnerability

  • CVE-2026-6414: Fastify Static Auth Bypass 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