Skip to main content
← All vulnerabilities
CVE-2026-67318GHSA-MWF2-3PR3-8698

axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • axios axios

    From 1.13.0 · fixed in 1.18.0

  • axiosnpm

    From 1.13.0 · fixed in 1.18.0

References 2

GitHub · axios/axios

vulncheck.com