CVE-2026-67318axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | node-axios | Fix pending | UBUNTU-CVE-2026-67318 | |
| Ubuntu 24.04 | node-axios | Fix pending | UBUNTU-CVE-2026-67318 | |
| Ubuntu 22.04 | node-axios | Fix pending | UBUNTU-CVE-2026-67318 | |
| Ubuntu 20.04 | node-axios | Fix pending | UBUNTU-CVE-2026-67318 | |
| Debian 14 | node-axios | Fixed | 1.18.0-1 | DEBIAN-CVE-2026-67318 |
| npm library | axios | Fixed | 1.18.0 | GHSA-mwf2-3pr3-8698 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- axios: affected: 1.13.0 to before 1.18.0, 1.18.0 not affected; fixed in
1.18.0
Vendor advisories:
- https://github.com/axios/axios/security/advisories/GHSA-mwf2-3pr3-8698 (vendor-advisory)
References
- https://github.com/axios/axios/security/advisories/GHSA-mwf2-3pr3-8698
- https://www.vulncheck.com/advisories/axios-before-maxbodylength-bypass-via-http-2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.