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

CVE-2025-58754: Axios Axios DoS Vulnerability

CVE-2025-58754 is a denial of service vulnerability in Axios that allows attackers to crash applications using data: URIs with unbounded memory allocation. This article covers technical details, affected versions, and patches.

Published: March 11, 2026

CVE-2025-58754 Overview

Axios, a widely-used promise-based HTTP client for browsers and Node.js, contains a resource exhaustion vulnerability that can lead to denial of service. When Axios running on Node.js receives a URL with the data: scheme, it bypasses normal HTTP handling and instead decodes the entire payload directly into memory as a Buffer or Blob object. This behavior critically ignores the maxContentLength and maxBodyLength configuration options that are designed to protect HTTP responses from excessive payloads.

An attacker can exploit this vulnerability by supplying a crafted, extremely large data: URI to an Axios instance, causing the Node.js process to allocate unbounded memory. This memory exhaustion leads to process crashes and denial of service conditions, even when the application has configured responseType: 'stream' which would normally prevent full payload buffering.

Critical Impact

Attackers can crash Node.js applications by supplying maliciously crafted large data: URIs that bypass Axios content length protections, causing unbounded memory allocation and denial of service.

Affected Products

  • Axios versions 0.28.0 through 0.30.1 (Node.js)
  • Axios versions 1.0.0 through 1.11.x (Node.js)

Discovery Timeline

  • 2025-09-12 - CVE CVE-2025-58754 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2025-58754

Vulnerability Analysis

The vulnerability exists in Axios's Node.js HTTP adapter's handling of data: scheme URLs. Unlike standard HTTP requests where Axios properly enforces size limits through maxContentLength and maxBodyLength configuration options, the data URI handling path completely bypasses these protective measures.

When a data: URI is processed, Axios decodes the base64-encoded payload directly into memory, creating a synthetic 200 response. This design flaw means that regardless of how the application configures response handling—including using responseType: 'stream' which should theoretically stream data without full buffering—the entire payload is loaded into memory at once.

The impact is particularly severe in server-side applications where multiple concurrent requests with large data URIs could rapidly exhaust available memory, leading to out-of-memory (OOM) conditions and service unavailability.

Root Cause

The root cause is a failure to apply consistent input validation across all URL scheme types in Axios's Node.js adapter. The maxContentLength and maxBodyLength protections were implemented specifically for HTTP/HTTPS responses but were not extended to cover the data URI decoding path.

This architectural oversight stems from treating data URIs as a separate, trusted path that doesn't require the same security controls as external network requests. The CWE-770 (Allocation of Resources Without Limits or Throttling) classification accurately describes this failure to implement resource constraints on the data URI processing mechanism.

Attack Vector

The attack exploits the network-accessible nature of applications using vulnerable Axios versions. An attacker can craft a request that causes the target application to process a large data: URI, either directly through user-supplied input or indirectly through attacker-controlled external data sources.

The attack requires no authentication or special privileges and can be executed with low complexity. The attacker crafts a data URI containing a very large base64-encoded payload. When Axios processes this URI, it attempts to decode and store the entire payload in memory without checking size limits.

For example, if an application accepts URLs from user input and passes them to Axios for fetching, an attacker could supply a data URI containing gigabytes of encoded data. The application would attempt to allocate memory for the entire decoded payload, potentially exhausting system resources and causing a denial of service condition.

Detection Methods for CVE-2025-58754

Indicators of Compromise

  • Sudden memory spikes in Node.js processes handling HTTP requests
  • Out-of-memory (OOM) errors or process crashes in Axios-dependent services
  • Unusual presence of data: scheme URLs in application logs or request payloads
  • Repeated service restarts due to memory exhaustion

Detection Strategies

  • Implement application-layer monitoring for incoming requests containing data: URI schemes
  • Monitor Node.js process memory utilization with alerts for abnormal growth patterns
  • Audit application code for user-controlled URL inputs passed to Axios without validation
  • Review dependency trees to identify affected Axios versions using npm audit or similar tools

Monitoring Recommendations

  • Enable heap memory profiling on production Node.js instances to detect memory exhaustion attacks
  • Set up alerts for process memory exceeding expected thresholds in containerized environments
  • Log and analyze URL patterns in requests to identify potential exploitation attempts
  • Implement circuit breakers to prevent cascading failures from memory exhaustion

How to Mitigate CVE-2025-58754

Immediate Actions Required

  • Upgrade Axios to version 0.30.2 or 1.12.0 or later immediately
  • Implement input validation to reject or sanitize data: URIs before passing to Axios
  • Add URL scheme allowlisting to only permit http: and https: protocols where appropriate
  • Configure memory limits on Node.js processes to contain potential impact

Patch Information

The Axios maintainers have released patched versions that address this vulnerability. The fix implements proper size limit enforcement for data URI processing, ensuring that maxContentLength and maxBodyLength protections apply consistently across all URL schemes.

Patched versions:

  • Version 0.30.2 for the 0.x branch - GitHub Release v0.30.2
  • Version 1.12.0 for the 1.x branch - GitHub Release v1.12.0

For detailed technical information about the fix, see the GitHub Security Advisory GHSA-4hjh-wcwx-xvwj and related GitHub Pull Request #7011.

Workarounds

  • Implement a request interceptor in Axios to check and reject data: scheme URLs before processing
  • Add a reverse proxy or API gateway rule to filter requests containing data URI patterns
  • Use input validation libraries to sanitize and validate URLs before Axios consumption
  • Wrap Axios calls in try-catch blocks with resource cleanup to limit impact of memory errors
bash
# Configuration example
# Update Axios to patched version using npm
npm update axios@latest

# Or install specific patched versions
npm install axios@1.12.0
# For legacy 0.x branch:
npm install axios@0.30.2

# Verify installed version
npm list axios

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechAxios

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.10%

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

  • GitHub Pull Request

  • GitHub Release v0.30.2

  • GitHub Release v1.12.0
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Pull Request

  • GitHub Security Advisory GHSA-4hjh-wcwx-xvwj
  • Related CVEs
  • CVE-2026-25639: Axios HTTP Client DoS Vulnerability

  • CVE-2025-27152: Axios HTTP Client SSRF Vulnerability

  • CVE-2024-57965: Axios Origin Validation Vulnerability

  • CVE-2023-45857: Axios Information Disclosure Vulnerability
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