CVE-2026-42034 PUBLISHED

Axios: HTTP adapter streamed uploads bypass maxBodyLength when maxRedirects: 0

Assigner: GitHub_M
Reserved: 23.04.2026 Published: 24.04.2026 Updated: 24.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 5.3

Product Status

Vendor axios
Product axios
Versions
  • Version >= 1.0.0, < 1.15.1 is affected
  • Version < 0.31.1 is affected

References

Problem Types

  • CWE-770: Allocation of Resources Without Limits or Throttling CWE