CVE-2026-67318
CVE-2026-67318 · axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.3 · Medium · EPSS 0.6% · Fix available
- Published
- Updated
Affected products and versions
axios
- Versions
- ≥ 1.13.0, < 1.18.0: Affected (semver)
- 1.18.0: Not affected (semver)
Update to 1.18.0
node-axios Debian:14
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.15.0-1
- 1.15.2-1
- 1.16.0-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: < 1.18.0-1
Update to 1.18.0-1
axios npm
- Affected ranges
- SEMVER: ≥ 1.13.0, < 1.18.0
Update to 1.18.0
node-axios Ubuntu:Pro:20.04:LTS
- Versions
- 0.19.0+dfsg-2
- 0.19.0+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:22.04:LTS
- Versions
- 0.21.1+dfsg-1
- 0.23.0+dfsg-2
- 0.24.0+dfsg-1
- 0.25.0+dfsg-2
- 0.26.0+dfsg-1
- 0.26.0+dfsg-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:24.04:LTS
- Versions
- 1.2.1+dfsg-1
- 1.5.1+dfsg-1
- 1.6.2+dfsg-1
- 1.6.8+dfsg-2
- 1.6.8+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:26.04:LTS
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.2+dfsg-1build1
- 1.13.2+dfsg-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published