Allocation of Resources Without Limits or Throttling Affecting axios package, versions >=0.28.0 <0.33.0>=1.0.0 <1.18.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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-18060165
  • published21 Jul 2026
  • disclosed20 Jul 2026
  • creditSam Caldwell

Introduced: 20 Jul 2026

New CVE NOT AVAILABLE CWE-770  (opens in a new tab)

How to fix?

Upgrade axios to version 0.33.0, 1.18.0 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 in the buildPath() function of lib/helpers/formDataToJSON.js, which recurses over bracket-delimited FormData key segments without a depth limit. An attacker can crash the Node.js process by supplying a FormData field name with tens of thousands of nested bracket segments, such as a[x][x][x]..., which exhausts the JavaScript call stack with a RangeError. Exploitation requires the application to pass attacker-controlled FormData into formDataToJSON, either by calling axios.formToJSON() on it or by sending it through axios with a JSON content type.

CVSS Base Scores

version 4.0
version 3.1