CVE-2026-42034 Details
Description
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.
A vulnerability exists in Axios, a promise-based HTTP client for the browser and Node.js, prior to versions 1.15.1 and 0.31.1. When using streamed request bodies, the 'maxBodyLength' option is bypassed if 'maxRedirects' is set to 0, allowing oversized uploads to be sent in full, disregarding strict body limits. This issue arises because the native HTTP/HTTPS transport does not enforce the 'maxBodyLength' setting for streamed data, creating a path-specific bypass that can lead to resource exhaustion on the server.
Upgrade to Axios version 1.15.1 or 0.31.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axios/axios/security/advisories/GHSA-5c9x-8gcm-mpgx | CISA-ADP | ExploitVendor Advisory |
| https://github.com/axios/axios/security/advisories/GHSA-5c9x-8gcm-mpgx | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | < 0.31.1 >= 1.0.0, < 1.15.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 27, 2026 | Initial Analysis | [email protected] |
| Apr 24, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2026 | New CVE Received | [email protected] |