Skip to main content

Axios EUVDEUVD-2026-25601

| CVE-2026-42034 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-24 GitHub_M GHSA-5c9x-8gcm-mpgx
5.3
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Network request with stream body
  2. Delivery
    maxRedirects=0 triggers native transport
  3. Exploit
    maxBodyLength validation bypassed
  4. Execution
    oversized payload transmitted
  5. Persist
    server resources exhausted
  6. Impact
    denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires two specific conditions to be active: (1) maxRedirects must be set to 0 in the Axios request configuration, and (2) the request body must be a stream (not a string or buffer). Default Axios configurations set maxRedirects to 5, so applications using default settings are not vulnerable. The native http/https transport is used by default in Node.js; browser environments using XMLHttpRequest or fetch adapters are not affected. The attacker must be able to send network requests to the application (AV:N confirms unauthenticated network access), but the target application must be explicitly configured with both maxRedirects=0 AND a maxBodyLength limit. Applications that do not enforce maxBodyLength or do not use stream bodies are also not vulnerable, as the bypass specifically affects the interaction between maxRedirects=0 and stream body handling.

Impact

This is a moderate-severity denial of service vulnerability with practical real-world risk. The CVSS score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) indicates network-accessible, unauthenticated exploitation with low attack complexity, but impact is limited to availability (denial of service). The vulnerability requires a specific configuration condition (maxRedirects=0) which is not the default behavior, reducing widespread exposure. No EPSS score or KEV status provided in the data, and no POC is confirmed to exist in public sources at the time of analysis. The exploitation condition is straightforward: an attacker crafts a request with a stream body while the application uses maxRedirects=0, bypassing the enforced body size limit. This is not an arbitrary code execution issue but rather a resource exhaustion vector. Organizations using Axios as an HTTP client library (common in Node.js servers) and implementing body size limits for security should prioritize patching, but this is not a critical emergency unless the application is already experiencing resource exhaustion attacks.

Exploit ScenarioDerived

An attacker identifies a Node.js application using Axios with maxBodyLength configured to a strict limit (e.g., 10MB) and maxRedirects set to 0. The attacker sends a crafted HTTP POST or PUT request containing a stream body larger than the configured limit (e.g., 100MB). Because maxRedirects is 0, the native http/https transport path fails to enforce the maxBodyLength check, and the oversized stream is sent in full to the server, consuming memory and bandwidth and potentially causing the application to slow down, crash, or become unresponsive to legitimate requests.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

Axios versions prior to 1.15.1 and 0.31.1 allow remote attackers to bypass maxBodyLength restrictions on stream request bodies when maxRedirects is set to 0, enabling denial of service through oversized uploads that consume unbounded server resources. The vulnerability affects the native http/https transport path in Node.js environments and enables attackers to send streamed payloads that exceed configured size limits, potentially exhausting memory or bandwidth on the target application.

RemediationAI

Upgrade Axios to version 1.15.1 or 0.31.1 or later, depending on your major version. For Node.js applications using Axios, apply the patch immediately by running npm update axios or specifying the exact version in package.json and reinstalling. If immediate patching is not feasible, configure maxRedirects to a value greater than 0 (default is 5) to avoid triggering the vulnerable code path, though this does not fully mitigate the risk if stream bodies are still used; alternatively, implement external request body size validation at the application or network layer (e.g., middleware or reverse proxy configuration) to enforce maxBodyLength limits independently of the Axios library. Note that changing maxRedirects has functional implications for redirect handling, so test carefully before deployment. The upstream fix is confirmed in GitHub security advisory GHSA-5c9x-8gcm-mpgx, and patched versions are available from npm.

Affected VersionsENISA

axios 1.0.0, < 1.15.1
axios < 0.31.1

Affected Packages

npm axios fix: 0.31.1, 1.15.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Axios is a JavaScript HTTP client library used in Node.js and browser environments to handle HTTP requests. The vulnerability exists in the request body size validation logic, specifically in the native http/https transport handler that processes stream-based request bodies. When maxRedirects is configured to 0 (disabling automatic redirect following), the maxBodyLength validation bypass occurs because the code path for handling stream bodies fails to properly enforce size limits in the direct request scenario. CWE-770 (Allocation of Resources Without Limits or Throttling) describes the root cause: the application fails to enforce configured body size constraints, allowing callers to send arbitrarily large streamed payloads.

Know when Axios gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.3 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 19:59 nvd
Patch available
Patch available
Apr 24, 2026 - 20:17 EUVD
CVE Published
Apr 24, 2026 - 17:59 nvd
MEDIUM 5.3

DescriptionGitHub Advisory

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, for stream request bodies, maxBodyLength is bypassed when maxRedirects is set to 0 (native http/https transport path). Oversized streamed uploads are sent fully even when the caller sets strict body limits. This vulnerability is fixed in 1.15.1 and 0.31.1.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 273 npm packages depend on axios (189 direct, 84 indirect)

Ecosystem-wide dependent count for version 1.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Axios

View all
CVE-2026-42043 CRITICAL POC
10.0 Apr 24

NO_PROXY protection bypass in Axios HTTP client (versions 1.0.0-1.15.0 and ≤0.31.0) lets an attacker who controls a requ

CVE-2026-42044 CRITICAL POC
9.1 Apr 24

JSON response tampering in the Axios HTTP client (versions 1.0.0 up to but not including 1.15.2) lets an attacker who ca

CVE-2026-67320 HIGH POC
8.3 Aug 01

Prototype pollution via the Node.js HTTP adapter in axios allows an attacker who controls `Object.prototype.proxy` to si

CVE-2025-27152 HIGH POC
7.7 Mar 07

axios is a promise based HTTP client for the browser and node.js. Rated high severity (CVSS 7.7), this vulnerability is

CVE-2025-58754 HIGH POC
7.5 Sep 12

Axios is a promise based HTTP client for the browser and Node.js. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2026-25639 HIGH POC
7.5 Feb 09

Axios versions up to 0.30.3 is affected by improper check for unusual or exceptional conditions (CVSS 7.5).

CVE-2024-39338 HIGH POC
7.5 Aug 12

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative

CVE-2021-3749 HIGH POC
7.5 Aug 31

axios is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2019-10742 HIGH POC
7.5 May 07

Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to acce

CVE-2026-42033 HIGH POC
7.4 Apr 24

Prototype pollution in Axios HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification

CVE-2026-42039 MEDIUM POC
6.9 Apr 24

Denial of service in Axios HTTP client before versions 1.15.1 and 0.31.1 allows remote unauthenticated attackers to cras

CVE-2026-42041 MEDIUM POC
6.5 Apr 24

Prototype pollution in Axios library versions prior to 1.15.1 and 0.31.1 allows remote attackers to suppress HTTP error

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy