HTTP Client Oversized Stream Handling Vulnerability in Axios
CVE-2026-42034
5.3MEDIUM
What is CVE-2026-42034?
Axios, a popular JavaScript HTTP client, has a vulnerability that impacts stream request bodies. When maxRedirects is configured to 0, it allows for the maxBodyLength setting to be bypassed, resulting in oversized streamed uploads being sent in full, irrespective of the caller's body limit settings. This flaw is addressed in versions 1.15.1 and 0.31.1, reinforcing the importance of keeping libraries updated to mitigate such risks.
Affected Version(s)
axios >= 1.0.0, < 1.15.1 < 1.0.0, 1.15.1
axios < 0.31.1 < 0.31.1
