CVE-2026-42036 PUBLISHED

Axios: HTTP adapter streamed responses bypass maxContentLength

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, when responseType: 'stream' is used, Axios returns the response stream without enforcing maxContentLength. This bypasses configured response-size limits and allows unbounded downstream consumption. 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