CVE 6.9 MEDIUM

Axios: unbounded recursion in toFormData causes DoS via deeply nested request data_CVE-2026-42039

6.9 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2026-42039
Source GitHub_M
Published Apr 24, 2026 at 18:01

Affected Product

Vendor axios
Product axios
Version >= 1.0.0, < 1.15.1
Affected Versions axios axios >= 1.0.0, < 1.15.1
axios axios < 0.31.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.