CVE-2026-42034
MEDIUM 5.3CVSS 3.1Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, for stream request bodies, maxBodyLength is bypassed when maxRedirects is set to 0 (native http/https transport path). Oversized streamed uploads are sent fully even when the caller sets strict body limits. This vulnerability is fixed in 1.15.1 and 0.31.1.
- Published
- 24 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-5c9x-8gcm-mpgx
- Sources
- NVDJSONOSV GHSA-5c9x-8gcm-mpgxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
< 0.31.1 | 0.31.1 |
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
>= 1.0.0, < 1.15.1 | 1.15.1 |
| OSV | npm | axios | >= 1.0.0, < 1.15.1 | 1.15.1 |
| OSV | npm | axios | < 0.31.1 | 0.31.1 |
References
- https://github.com/axios/axios/security/advisories/GHSA-5c9x-8gcm-mpgx · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42034 · ADVISORY
- https://github.com/axios/axios · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 May 2026)