Skip to main content

Axios EUVDEUVD-2026-25602

| CVE-2026-42036 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-24 GitHub_M GHSA-vf2m-468p-8v99
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 attacker sends HTTP request
  2. Delivery
    Axios stream handler bypasses maxContentLength check
  3. Exploit
    Unbounded response stream returned to application
  4. Execution
    Application consumes entire stream into memory
  5. Impact
    Memory exhaustion causes 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

Exploitation requires the target application to explicitly set responseType: 'stream' when making HTTP requests with Axios. The application must also have configured maxContentLength (or rely on the default limit). Default Axios configurations without explicit stream handling are NOT vulnerable. The attack is triggered by network-accessible HTTP requests sent to the application, with no authentication barriers. The vulnerability applies equally to both Node.js and browser environments that use the stream response type.

Impact

CVSS 5.3 with AV:N/AC:L/PR:N/UI:N indicates network-accessible denial of service with low attack complexity and no privilege or interaction requirements. However, the practical impact is LIMITED to availability only (A:L), and the attack requires the target application to explicitly configure responseType: 'stream' - a non-default setting. The vulnerability does NOT enable code execution, authentication bypass, or data disclosure. EPSS score and KEV status were not provided in input data, preventing assessment of real-world exploitation prevalence. The threat is primarily relevant to Node.js applications and server-side contexts where unbounded stream consumption could exhaust memory or connection resources. Browser-based applications are lower risk due to browser memory constraints and same-origin policy. Organizations running default Axios configurations are not affected.

Exploit ScenarioDerived

An attacker crafts an HTTP request to a vulnerable application configured with Axios responseType: 'stream' and a maxContentLength limit (e.g., 10MB). The attacker's server sends an HTTP response with a Content-Length header claiming a small size (1MB) but streams gigabytes of data. Since Axios does not enforce maxContentLength on streams, the application consumes the entire stream, exhausting server memory and causing denial of service. No authentication or special client behavior is required.

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 HTTP client prior to version 1.15.1 (1.x branch) and 0.31.1 (0.x branch) fails to enforce maxContentLength limits when responseType is set to 'stream', allowing attackers to cause denial of service by streaming unbounded response payloads that bypass configured size restrictions. The vulnerability affects both browser and Node.js environments and requires no authentication or user interaction to exploit.

RemediationAI

Upgrade to Axios 1.15.1 or later for the 1.x branch, or to 0.31.1 or later for the 0.x branch. These versions restore maxContentLength enforcement for stream responses. If immediate upgrade is not feasible, implement application-level stream consumption limits by wrapping the Axios stream response with a bytes-read counter and abort the stream if cumulative bytes exceed your configured maxContentLength threshold. Alternatively, avoid using responseType: 'stream' unless absolutely required; use the default response type which respects maxContentLength. This workaround has the trade-off of loading entire responses into memory before returning them, increasing memory footprint. See GitHub security advisory GHSA-vf2m-468p-8v99 for additional context.

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 promise-based HTTP client library that provides a maxContentLength configuration option intended to limit the size of HTTP responses. When responseType is configured as 'stream', Axios returns the underlying HTTP response stream object directly to the caller. The vulnerability stems from CWE-770 (Allocation of Resources Without Limits or Throttling) - the stream response path does not validate response size against the maxContentLength setting before returning the stream, allowing consuming code to receive unbounded data. This affects both browser XMLHttpRequest-based streams and Node.js stream implementations. The CPE indicates all Axios versions before the fix are vulnerable.

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:57 nvd
Patch available
Patch available
Apr 24, 2026 - 20:17 EUVD
CVE Published
Apr 24, 2026 - 18:00 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, when responseType: 'stream' is used, Axios returns the response stream without enforcing maxContentLength. This bypasses configured response-size limits and allows unbounded downstream consumption. 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
7 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