CVE-2026-67312: axios 0.28.0 before 0.33.0 Denial of Service via formToJSON

Published Aug 1, 2026
·
Updated

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 Software

2 affected components
npm/axios>=0.28.0<0.33.0
npm/axios>=1.0.0<1.18.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade axios to a version that resolves this vulnerability.

    Fixed in 0.33.0
  2. Upgrade

    Upgrade axios to a version that resolves this vulnerability.

    Fixed in 1.18.0

Event History

Aug 1, 2026
CVE Published
via MITRE·12:22 PM
Data Sourced
via MITRE·12:22 PM
DescriptionWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-67312?

CVE-2026-67312 has a risk rating of 28, indicating a moderate to high severity level.

2

How do I fix CVE-2026-67312?

To fix CVE-2026-67312, upgrade axios to version 0.33.0 or later, or 1.18.0 or later.

3

What does CVE-2026-67312 exploit?

CVE-2026-67312 exploits uncontrolled recursion in the formDataToJSON function of axios, leading to potential Denial of Service.

4

Which versions of axios are affected by CVE-2026-67312?

CVE-2026-67312 affects axios versions 0.28.0 before 0.33.0 and 1.0.0 before 1.18.0.

5

What are the potential consequences of CVE-2026-67312?

The exploitation of CVE-2026-67312 may result in a Denial of Service, making applications using axios unresponsive.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203