Vulnerabilities/

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

Severity:
Medium

Description

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.

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 May 05, 2026