Vulnerability · Published Aug 1, 2026 · Assigned by VulnCheck
CVE-2026-67312axios 0.28.0 before 0.33.0 and 1.0.0 before 1.18.0 Denial of Service via formToJSON
Medium 6.3
In plain English
A medium-severity uncontrolled resource consumption in axios from axios. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
axios versions from 0.28.0 before 0.33.0 and from 1.0.0 before 1.18.0 contain uncontrolled recursion in formDataToJSON (exposed as axios.formToJSON() and used internally when serializing FormData with Content-Type: application/json). When an application passes attacker-controlled FormData field names, a field name with thousands of nested bracket-delimited segments causes unbounded recursion in buildPath(), exhausting the JavaScript call stack (RangeError: Maximum call stack size exceeded) and causing denial of service for that request, or process termination in applications without appropriate error handling.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-axios | no fix listed | DEBIAN-CVE-2026-67312 |
| Debian:13 | node-axios | no fix listed | DEBIAN-CVE-2026-67312 |
| Debian:14 | node-axios | 1.18.0-1 | DEBIAN-CVE-2026-67312 |
| npm | axios | 0.33.0 | GHSA-pmv8-rq9r-6j72 |
| npm | axios | 1.18.0 | GHSA-pmv8-rq9r-6j72 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N