Description
axios versions >=1.13.0 (Node.js HTTP adapter) fail to enforce the configured maxBodyLength limit on streamed request bodies when requests are sent with httpVersion: 2. Because Node's HTTP/2 request API does not honor the maxBodyLength option and axios's byte-counting stream wrapper is gated on maxRedirects === 0, an attacker who controls a stream passed to axios can cause the application to transmit outbound data exceeding the configured finite maxBodyLength. Impact is limited to resource consumption and policy bypass (excess egress, upstream quota consumption, limited availability); it does not enable code execution, credential disclosure, or request-destination control. Calls using the default maxBodyLength: -1 and browser adapters are not affected.
Published: 2026-08-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Axios versions from 1.13.0 through 1.17.x on the Node.js HTTP adapter do not apply the configured maxBodyLength limit when outbound requests are sent with HTTP/2. The library’s byte-counting stream wrapper is disabled for requests with maxRedirects set to zero, allowing a stream supplied by an attacker to exceed the intended body size. The resulting over‑send can consume excessive bandwidth or memory, causing resource exhaustion or violating egress quotas. The flaw does not provide code execution, credential disclosure, or arbitrary request destination control.

Affected Systems

The affected product is Axios, an HTTP client for Node.js. Versions 1.13.0 up to and including 1.17.x are impacted when the Node.js HTTP adapter is used with httpVersion set to 2 and maxRedirects equal to zero. The library’s default maxBodyLength of -1 and its browser adapters are not affected. Environments using Axios for outbound HTTP/2 traffic may be vulnerable.

Risk and Exploitability

The CVSS score of 6.3 indicates medium severity. The EPSS score of 0.00356 indicates a very low exploitation probability, and the vulnerability is not listed in CISA KEV, suggesting current exploitation likelihood is low to moderate. An attacker must control the stream payload and configure an outbound request that uses axios with httpVersion 2 and maxRedirects 0. Once achieved, the attacker can trigger excessive output that may drown network resources or exceed configured egress limits, but cannot directly execute code or extract sensitive data from the application.

Generated by OpenCVE AI on August 4, 2026 at 22:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axios to version 1.18.0 or later, where the maxBodyLength check is enforced even for HTTP/2 streams.
  • Review and modify any code that sets axios.httpVersion to 2 or configures maxRedirects to 0; avoid using these settings for streams that may originate externally.
  • If an immediate upgrade is not possible, implement network‑level request size limits or choke points for outbound HTTP/2 traffic to mitigate resource consumption and enforce egress quotas.

Generated by OpenCVE AI on August 4, 2026 at 22:11 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
Weaknesses CWE-130
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 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', '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.13.0 (Node.js HTTP adapter) fail to enforce the configured maxBodyLength limit on streamed request bodies when requests are sent with httpVersion: 2. Because Node's HTTP/2 request API does not honor the maxBodyLength option and axios's byte-counting stream wrapper is gated on maxRedirects === 0, an attacker who controls a stream passed to axios can cause the application to transmit outbound data exceeding the configured finite maxBodyLength. Impact is limited to resource consumption and policy bypass (excess egress, upstream quota consumption, limited availability); it does not enable code execution, credential disclosure, or request-destination control. Calls using the default maxBodyLength: -1 and browser adapters are not affected.
Title axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2
First Time appeared Axios
Axios axios
Weaknesses CWE-400
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-03T19:40:31.676Z

Reserved: 2026-07-29T13:07:21.183Z

Link: CVE-2026-67318

cve-icon Vulnrichment

Updated: 2026-08-03T19:40:26.472Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-03T20:17:26.963

Link: CVE-2026-67318

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-67318 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:15:03Z

Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency

  • CWE-400

    Uncontrolled Resource Consumption