Description
axios versions 1.7.0 before 1.18.0 fail to enforce maxBodyLength for WHATWG ReadableStream request bodies in the fetch adapter when Content-Length cannot be determined. Attackers can supply unknown-length stream data to bypass upload size limits and cause uncontrolled network egress or resource exhaustion.
Published: 2026-08-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

axios 1.7.0 through 1.17.x fails to apply the maxBodyLength limit when the request body is a WHATWG ReadableStream and the Content-Length header cannot be determined. An attacker can supply a stream of unknown length, bypassing the configured upload size restriction. The unchecked data flow can cause uncontrolled network egress or exhaust server resources, potentially leading to denial of service.

Affected Systems

The vulnerability affects the axios HTTP client library for Node.js, specifically versions 1.7.0 up to, but not including, 1.18.0. Any application that uses these axios versions and sends request bodies via the fetch adapter over streams is impacted.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity, but the lack of an EPSS score leaves the exact exploitation probability uncertain. The vulnerability is not listed in the CISA KEV catalog. An attacker who can send arbitrary HTTP requests to the affected application could craft aableStream payload without a Content-Length header to bypass the maxBodyLength check, forcing the application to accept and process very large or infinite streams, leading to memory or bandwidth exhaustion. The attack requires network access to the target endpoint and use of axios for the request.

Generated by OpenCVE AI on August 3, 2026 at 09:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade axios to version 1.18.0 or later to apply the maxBodyLength enforcement fix.
  • When upgrading is not immediately possible, configure your reverse proxy or server to reject requests with missing Content-Length headers and enforce a strict maximum request body size.
  • If the application must accept stream-based uploads, implement custom middleware that tracks the amount of data received and aborts the request once a safe threshold is exceeded.

Generated by OpenCVE AI on August 3, 2026 at 09:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

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'}

threat_severity

Moderate


Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 01 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description axios versions 1.7.0 before 1.18.0 fail to enforce maxBodyLength for WHATWG ReadableStream request bodies in the fetch adapter when Content-Length cannot be determined. Attackers can supply unknown-length stream data to bypass upload size limits and cause uncontrolled network egress or resource exhaustion.
Title axios 1.7.0 before 1.18.0 maxBodyLength Bypass via ReadableStream
First Time appeared Axios
Axios axios
Weaknesses CWE-770
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Vendors & Products Axios
Axios axios
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T18:25:21.446Z

Reserved: 2026-07-29T13:06:35.179Z

Link: CVE-2026-67317

cve-icon Vulnrichment

Updated: 2026-08-03T18:24:51.913Z

cve-icon NVD

Status : Received

Published: 2026-08-01T13:17:01.817

Modified: 2026-08-03T19:16:51.243

Link: CVE-2026-67317

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-01T12:22:16Z

Links: CVE-2026-67317 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T09:45:04Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling