{"id":"CVE-2026-42039","summary":"Axios: unbounded recursion in toFormData causes DoS via deeply nested request data","details":"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.","aliases":["GHSA-62hf-57xw-28j9"],"modified":"2026-05-18T06:00:10.262387720Z","published":"2026-04-24T18:01:30.775Z","related":["CGA-766r-rjv4-m7hv"],"database_specific":{"cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42039.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42039.json"},{"type":"ADVISORY","url":"https://github.com/axios/axios/security/advisories/GHSA-62hf-57xw-28j9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42039"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/axios/axios","events":[{"introduced":"484aa4fe6addccbd32206a31eb3d2d000843066e"},{"fixed":"a589dc525af12e0fabef7d6e5be028ad433eee31"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42039.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}