CVE-2026-67317

axios 1.7.0 before 1.18.0 maxBodyLength Bypass via ReadableStream

Published Aug 1, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-jqh4-m9w3-8hp9 Axios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`
History
Type Values Removed Values Added
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'}

cvssV3_1

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

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

Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 3, 2026, 6:25 PM
Reserved
Jul 29, 2026, 1:06 PM
Status
Analyzed
Published
Aug 1, 2026, 1:17 PM
Modified
Sep 1, 2026, 3:39 PM
Severity
Moderate
Public date
Aug 1, 2026, 12:22 PM