Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessNetwork request with stream body
-
DeliverymaxRedirects=0 triggers native transport
-
ExploitmaxBodyLength validation bypassed
-
Executionoversized payload transmitted
-
Persistserver resources exhausted
-
Impactdenial 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub 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- 273 npm packages depend on axios (189 direct, 84 indirect)
Ecosystem-wide dependent count for version 1.0.0.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
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
Prototype pollution via the Node.js HTTP adapter in axios allows an attacker who controls `Object.prototype.proxy` to si
axios is a promise based HTTP client for the browser and node.js. Rated high severity (CVSS 7.7), this vulnerability is
Axios is a promise based HTTP client for the browser and Node.js. Rated high severity (CVSS 7.5), this vulnerability is
Axios versions up to 0.30.3 is affected by improper check for unusual or exceptional conditions (CVSS 7.5).
axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative
axios is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerability is
Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to acce
Prototype pollution in Axios HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification
Denial of service in Axios HTTP client before versions 1.15.1 and 0.31.1 allows remote unauthenticated attackers to cras
Prototype pollution in Axios library versions prior to 1.15.1 and 0.31.1 allows remote attackers to suppress HTTP error
EUVD-2026-25601
GHSA-5c9x-8gcm-mpgx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB