Unbounded Response Stream in Axios HTTP Client
CVE-2026-42036
5.3MEDIUM
What is CVE-2026-42036?
Axios, a popular HTTP client used for both browsers and Node.js, has a vulnerability where the responseType: 'stream' option can allow responses to bypass configured maximum content length settings. This can lead to unbounded downstream consumption, putting the application at risk of resource exhaustion. The issue exists in versions prior to 1.15.1 and 0.31.1, where no limit is enforced on the size of the response stream, thereby exposing applications to potential Denial of Service attacks. Users are encouraged to upgrade to the patched versions to mitigate this vulnerability.
Affected Version(s)
axios >= 1.0.0, < 1.15.1 < 1.0.0, 1.15.1
axios < 0.31.1 < 0.31.1
