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

CVE-2026-42034: Axios HTTP Client DOS Vulnerability

CVE-2026-42034 is a denial of service flaw in Axios HTTP client that bypasses maxBodyLength limits for stream request bodies. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 30, 2026

CVE-2026-42034 Overview

Axios, the widely-used promise-based HTTP client for browser and Node.js environments, contains a vulnerability where the maxBodyLength configuration option is bypassed when streaming request bodies with maxRedirects set to 0 (using the native http/https transport path). This allows oversized streamed uploads to be sent fully even when the caller has explicitly set strict body limits, potentially leading to resource exhaustion conditions.

Critical Impact

Applications relying on maxBodyLength to enforce upload size limits can be bypassed, allowing attackers to send oversized payloads through streamed uploads, potentially causing denial of service through resource exhaustion.

Affected Products

  • Axios versions prior to 1.15.1
  • Axios versions prior to 0.31.1
  • Node.js applications using affected Axios versions with stream request bodies

Discovery Timeline

  • 2026-04-24 - CVE-2026-42034 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-42034

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in how Axios handles body size validation for stream-based request bodies when the maxRedirects option is set to 0, which forces Axios to use the native Node.js http or https transport path rather than its custom request handling.

Under normal circumstances, when a developer configures maxBodyLength to limit the size of outgoing request bodies, Axios should enforce this limit and reject requests that exceed it. However, when streaming data (such as from a file stream or readable stream) and maxRedirects is set to 0, this validation check is bypassed entirely.

The practical impact is that an application configured to only allow uploads of a certain size could inadvertently transmit much larger payloads. This could lead to bandwidth exhaustion, memory pressure on servers processing oversized uploads, or circumvention of application-level security controls designed to limit data transfer sizes.

Root Cause

The root cause stems from a logic gap in the request body size enforcement mechanism when using the native http/https transport path. The maxBodyLength check is not properly applied to stream-based request bodies when redirect handling is disabled via maxRedirects: 0. This creates a code path where the size validation logic is skipped, allowing unlimited data transmission regardless of the configured limits.

Attack Vector

An attacker or malicious code could exploit this vulnerability by crafting requests that use streamed bodies while setting maxRedirects to 0. This bypasses any size restrictions the application developer intended to enforce through maxBodyLength. The attack is network-based and requires no authentication or user interaction.

The exploitation scenario involves:

  1. An application using Axios with maxBodyLength configured to limit upload sizes
  2. The application allows or requires stream-based uploads
  3. An attacker supplies a request configuration with maxRedirects: 0
  4. The oversized stream payload is transmitted in full, bypassing the body length limit

For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-42034

Indicators of Compromise

  • Unusually large outbound HTTP/HTTPS requests from Node.js applications
  • Network bandwidth spikes associated with Axios-based applications
  • Memory consumption anomalies in services handling streamed uploads
  • Log entries showing requests exceeding expected payload sizes

Detection Strategies

  • Audit package dependencies to identify Axios versions prior to 1.15.1 (for 1.x branch) or 0.31.1 (for 0.x branch)
  • Monitor for code patterns combining stream request bodies with maxRedirects: 0 configuration
  • Implement network monitoring to detect oversized HTTP request bodies
  • Use software composition analysis (SCA) tools to flag vulnerable Axios versions

Monitoring Recommendations

  • Enable detailed logging for outbound HTTP requests in Node.js applications
  • Set up alerts for network traffic anomalies indicating oversized uploads
  • Monitor application memory and CPU usage for signs of resource exhaustion
  • Implement request body size monitoring at the network or proxy layer as a defense-in-depth measure

How to Mitigate CVE-2026-42034

Immediate Actions Required

  • Update Axios to version 1.15.1 or later for the 1.x branch
  • Update Axios to version 0.31.1 or later for the 0.x branch
  • Audit applications for code paths using stream bodies with maxRedirects: 0
  • Implement network-level size limits as an additional layer of protection

Patch Information

The vulnerability has been fixed in Axios versions 1.15.1 and 0.31.1. Users should update their dependencies immediately to receive the security fix. The patch ensures that maxBodyLength is properly enforced for all request body types, including streams, regardless of the maxRedirects configuration.

For complete details, see the GitHub Security Advisory.

Workarounds

  • Implement server-side request body size limits as a fallback protection mechanism
  • Use reverse proxy or API gateway limits to enforce maximum request body sizes
  • Avoid setting maxRedirects: 0 when using stream-based request bodies if size limits are critical
  • Add application-level validation to pre-calculate stream sizes before transmission where possible
bash
# Update Axios to patched version
npm update axios@1.15.1

# Or for 0.x branch
npm update axios@0.31.1

# 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

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-770
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42036: Axios HTTP Client DOS Vulnerability

  • CVE-2026-42039: Axios HTTP Client DOS Vulnerability

  • CVE-2026-39865: Axios HTTP/2 DoS Vulnerability

  • CVE-2026-25639: Axios HTTP Client 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