CVE-2026-42039
Axios: unbounded recursion in toFormData causes DoS via deeply nested request data
7.5
HIGH
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2026-42039
To remediate CVE-2026-42039, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 1.15.1 or later
Is CVE-2026-42039 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- >= 1.0.0, < 1.15.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |