CVE-2026-67312
MEDIUM 6.3CVSS 4.0Axios: Deep formToJSON Key Recursion Can Cause Denial of Service
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.
- Published
- 1 Aug 2026
- Last modified
- 10 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-pmv8-rq9r-6j72
- Sources
- NVDJSONOSV GHSA-pmv8-rq9r-6j72JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
>= 0.28.0, < 0.33.0 | 0.33.0 |
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
>= 1.0.0, < 1.18.0 | 1.18.0 |
| OSV | npm | axios | >= 0.28.0, < 0.33.0 | 0.33.0 |
| OSV | npm | axios | >= 1.0.0, < 1.18.0 | 1.18.0 |
References
- https://github.com/axios/axios/security/advisories/GHSA-pmv8-rq9r-6j72 · Exploit, Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-formtojson · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-67312 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-68941 · ADVISORY
- https://github.com/axios/axios/pull/11000 · WEB
- https://github.com/axios/axios/pull/11001 · WEB
- https://github.com/axios/axios/commit/1417285c69344bbcc6420a021f67dee0c6fedb2d · WEB
- https://github.com/axios/axios/commit/32fc489632377d214db55bfa4e2c48486a7d7ce2 · WEB
- https://github.com/axios/axios · PACKAGE
- https://github.com/axios/axios/releases/tag/v0.33.0 · WEB
- https://github.com/axios/axios/releases/tag/v1.18.0 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 1 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)