Vulnerability library
Security checkJuly 20, 2026

Axios: HTTP/2 streamed uploads bypass `maxBodyLength`

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Axios versions with Node.js HTTP/2 support allow streamed request bodies to bypass maxBodyLength enforcement when requests are sent with httpVersion: 2.

This affects applications that rely on maxBodyLength as a hard cap while forwarding attacker-controlled streams, such as upload endpoints proxying user data to an upstream HTTP/2 service.

Recommendation

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

  • Affected version(s): >= 1.13.0, < 1.18.0
  • Patched version(s): 1.18.0

References

Could your website be exposed too?

SmartScanner can check your website for Axios: HTTP/2 streamed uploads bypass `maxBodyLength` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 20, 2026