Description
axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested brackets to exhaust the JavaScript call stack and trigger RangeError, causing request failure or process termination in applications that do not handle the exception.
Published: 2026-08-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Axios versions 0.28.0 through 1.18.0 contain an uncontrolled recursion vulnerability in the formDataToJSON routine. When the routine processes FormData field names that contain deeply nested bracket segments, it recurses until the JavaScript call stack limit is reached. This triggers a RangeError, causing the request to fail or, if the application does not catch the exception, the process can terminate, resulting in a denial of service.

Affected Systems

All systems that use Axios within the 0.28.0 to 1.18.0 range are affected. The vulnerability exists in the Axios library itself, so any Node.js application that imports or requires Axios in that version range is at risk regardless of the surrounding application code.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity impact on availability. The EPSS score is < 1% and the issue is not listed in the CISA KEV catalog, suggesting limited public exploitation data. An attacker can exploit the flaw by sending an HTTP request containing FormData field names with thousands of nested brackets, which is a feasible attack vector against applications that expose user‑controlled form handling. Successful exploitation would consume server resources and cause the application to fail or crash.

Generated by OpenCVE AI on August 4, 2026 at 22:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axios to version 1.18.0 or later so that the recursion limit bug is fixed.
  • If an upgrade is not immediately feasible, enforce a stricter validation of FormData field names on the server side to limit nesting depth and reject requests that exceed a safe threshold.
  • Wrap axios calls in try/catch blocks and implement graceful error handling to prevent process termination if a RangeError does occur.

Generated by OpenCVE AI on August 4, 2026 at 22:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-770
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


Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested brackets to exhaust the JavaScript call stack and trigger RangeError, causing request failure or process termination in applications that do not handle the exception.
Title axios 0.28.0 before 1.18.0 Denial of Service via formDataToJSON
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-03T19:30:22.335Z

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

Link: CVE-2026-67313

cve-icon Vulnrichment

Updated: 2026-08-03T19:30:07.307Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-03T20:17:26.850

Link: CVE-2026-67313

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-67313 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:15:03Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling