CVE-2026-42039
HIGHAxios: unbounded recursion in toFormData causes DoS via deeply nested request data
Title source: cnaDescription
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with a RangeError. This vulnerability is fixed in 1.15.1 and 0.31.1.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/axios/axios/security/advisories/GHSA-62hf-57xw-28j9
Scores
CVSS v3
7.5
EPSS
0.0041
EPSS Percentile
32.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-674
Status
published
Products (4)
axios/axios
< 0.31.1 (2 CPE variants)
axios/axios
>= 1.0.0, < 1.15.1
npm/axios
0 - 0.31.1npm
npm/axios
1.0.0 - 1.15.1npm
Published
Apr 24, 2026
Tracked Since
Apr 24, 2026