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.
Published: 2026-04-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via oversized uploads
Action: Update Package
AI Analysis

Impact

The vulnerability allows a bypass of the maxBodyLength restriction for streamed request bodies when maxRedirects is set to 0. An attacker can send arbitrarily large payloads that are fully transmitted despite caller‑defined size limits, potentially exhausting server resources and causing a denial of service.

Affected Systems

Axios HTTP client for Node.js and the browser is affected. All releases prior to 1.15.1 and 0.31.1 are vulnerable. The issue is present when the native http/https transport path handles streamed uploads with redirects disabled.

Risk and Exploitability

The CVSS base score of 5.3 indicates a moderate severity. The EPSS score of less than 1% shows a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would occur when a client using Axios sends a streamed request with maxRedirects set to 0 to a target that accepts the upload; the request bypasses size limits and can consume bandwidth, memory or storage, leading to service disruption. The attack vector is inferred to be HTTP requests originating from code that uses this configuration.

Generated by OpenCVE AI on April 28, 2026 at 05:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axios to 1.15.1 or 0.31.1 or later
  • Ensure maxRedirects is not set to 0 when sending streamed uploads, or configure appropriate body limitations
  • Avoid using streamed uploads to endpoints where redirects are disabled until the library is updated

Generated by OpenCVE AI on April 28, 2026 at 05:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5c9x-8gcm-mpgx Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0
History

Wed, 06 May 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Apr 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Axios
Axios axios
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Vendors & Products Axios
Axios axios

Fri, 24 Apr 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 24 Apr 2026 18:15:00 +0000

Type Values Removed Values Added
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.
Title Axios: HTTP adapter streamed uploads bypass maxBodyLength when maxRedirects: 0
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-24T18:13:14.474Z

Reserved: 2026-04-23T16:05:01.708Z

Link: CVE-2026-42034

cve-icon Vulnrichment

Updated: 2026-04-24T18:13:08.562Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-24T18:16:30.140

Modified: 2026-04-27T19:59:18.437

Link: CVE-2026-42034

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-24T17:59:47Z

Links: CVE-2026-42034 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T06:00:09Z

Weaknesses