CVE-2026-67312 Details
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.
A denial-of-service vulnerability has been identified in Axios versions 0.28.0 prior to 0.33.0 and 1.0.0 prior to 1.18.0. The issue arises from uncontrolled recursion in the 'formDataToJSON' function, which is used to serialize 'FormData' with 'Content-Type: application/json'. When an application sends 'FormData' field names controlled by an attacker, a name with thousands of nested bracket segments can cause unbounded recursion. This recursion exhausts the JavaScript call stack, leading to a 'RangeError: Maximum call stack size exceeded' error. In applications without proper error handling, this can result in process termination.
Users can update to Axios versions 0.33.0 or 1.18.0 and later, where this vulnerability has been patched. Applications should also validate or normalize 'FormData' field names before serialization and catch errors from 'axios.formToJSON()' or similar request transformations.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axios/axios/security/advisories/GHSA-pmv8-rq9r-6j72 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/axios/axios/security/advisories/GHSA-pmv8-rq9r-6j72 | [email protected] | ExploitMitigationVendor Advisory |
| https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-formtojson | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | >= 0.28.0, < 0.33.0 >= 1.0.0, < 1.18.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 1, 2026 | Initial Analysis | [email protected] |
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2026 | New CVE Received | [email protected] |