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.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-770 — Allocation of Resources Without Limits or Throttling
Affected products
| Vendor | Product | Versions |
|---|---|---|
| axios | axios | 1.7.0 to <1.18.0; 1.18.0 |
References
- https://github.com/axios/axios/security/advisories/GHSA-jqh4-m9w3-8hp9 (vendor-advisory)
- https://www.vulncheck.com/advisories/axios-before-maxbodylength-bypass-via-readablestream (third-party-advisory)
Generated from the official CVE List on 02 Aug 2026 07:05 UTC.