Allocation of Resources Without Limits or Throttling Affecting axios package, versions <0.31.1>=1.0.0 <1.15.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-AXIOS-16298130
  • published26 Apr 2026
  • disclosed24 Apr 2026
  • creditasadeddin

Introduced: 24 Apr 2026

NewCVE-2026-42034  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade axios to version 0.31.1, 1.15.1 or higher.

Overview

axios is a promise-based HTTP client for the browser and Node.js.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the data.pipe(req) upload path in the HTTP adapter. An attacker can send a streamed request body larger than the configured maxBodyLength while maxRedirects is 0, causing the client to transmit the oversized payload to the server instead of stopping at the limit. This lets a remote peer force excessive bandwidth and request processing on applications that rely on maxBodyLength to cap upload size, potentially exhausting resources and disrupting service.

CVSS Base Scores

version 4.0
version 3.1