CVE-2026-67312 PUBLISHED

axios 0.28.0 before 0.33.0 Denial of Service via formToJSON

Assigner: VulnCheck
Reserved: 29.07.2026 Published: 01.08.2026 Updated: 01.08.2026

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.

Metrics

CVSS 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
CVSS Score: 6.3

Product Status

Vendor axios
Product axios
Versions Default: unaffected
  • affected from 0.28.0 to 0.33.0 (excl.)
  • Version 0.33.0 is unaffected
Vendor axios
Product axios
Versions Default: unaffected
  • affected from 1.0.0 to 1.18.0 (excl.)
  • Version 1.18.0 is unaffected

Credits

  • sam-caldwell reporter

References

Problem Types

  • Uncontrolled Resource Consumption CWE