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.
Published: 2026-08-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an uncontrolled recursion in axios’s formDataToJSON routine, exposed as axios.formToJSON() and used internally when serializing FormData with Content‑Type: application/json. When a request includes a FormData field name containing thousands of nested bracket‑delimited segments, the buildPath() helper recurses without bound, exhausting the JavaScript call stack and raising a RangeError (Maximum call stack size exceeded). This causes the offending request to fail, and in applications that do not implement sufficient error handling it can lead to process termination, effectively denying service for the affected endpoint.

Affected Systems

The flaw affects the Axios library for Node.js. Versions 0.28.0 through 0.32.9 and 1.0.0 through 1.17.9 are vulnerable. Any JavaScript application that imports these library versions and processes user‑provided FormData with application/json content type is at risk.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score of <1% suggests a very low probability of exploitation in the current period, and the vulnerability is not listed in the CISA KEV catalog, indicating no known exploitation activity as of this analysis. Attackers may exploit the issue by crafting form data with deeply nested field names, a scenario that is feasible remotely from outside the application. Successful exploitation results in request failure or server crash, impairing availability of the affected services.

Generated by OpenCVE AI on August 4, 2026 at 11:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axios to a non‑vulnerable version (0.33.0 or newer, or 1.18.0 or newer).
  • Validate or limit the depth of FormData field names before passing them to axios, rejecting names with excessively nested brackets.
  • Add robust error handling for RangeError exceptions around axios calls to prevent process termination, addressing CWE-606, and consider configuring the server to isolate the impacted endpoint.

Generated by OpenCVE AI on August 4, 2026 at 11:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 04 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-606
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Sat, 01 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title axios 0.28.0 before 0.33.0 Denial of Service via formToJSON
First Time appeared Axios
Axios axios
Weaknesses CWE-400
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Vendors & Products Axios
Axios axios
References
Metrics cvssV4_0

{'score': 6.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T18:34:07.840Z

Reserved: 2026-07-29T13:06:35.178Z

Link: CVE-2026-67312

cve-icon Vulnrichment

Updated: 2026-08-03T18:34:02.212Z

cve-icon NVD

Status : Received

Published: 2026-08-01T13:17:01.150

Modified: 2026-08-03T19:16:50.977

Link: CVE-2026-67312

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-01T12:22:18Z

Links: CVE-2026-67312 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:30:07Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-606

    Unchecked Input for Loop Condition