CVE-2026-42039

HIGH

Axios: unbounded recursion in toFormData causes DoS via deeply nested request data

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0005
EPSS Percentile 16.2%
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 (2)
axios/axios < 0.31.1 (2 CPE variants)
axios/axios >= 1.0.0, < 1.15.1
Published Apr 24, 2026
Tracked Since Apr 24, 2026