Vulnerabilities/

Axios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`

Severity:
Medium

Description

axios’ fetch adapter does not enforce maxBodyLength for live WHATWG ReadableStream request bodies whose size cannot be determined before dispatch. Applications that use adapter: "fetch" and rely on maxBodyLength to cap untrusted upload/proxy streams can send the full stream even when it exceeds the configured limit.

Recommendation

Update the axios package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
axios
Anything's wrong? Let us know Last updated on July 20, 2026