CVE-2026-67313

axios 0.28.0 before 1.18.0 Denial of Service via formDataToJSON

Published Aug 1, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-42h9-826w-cgv3 Axios: Excessive recursion in formDataToJSON can cause denial of service
History
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

Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 3, 2026, 7:30 PM
Reserved
Jul 29, 2026, 1:06 PM
Status
Analyzed
Published
Aug 1, 2026, 1:17 PM
Modified
Sep 1, 2026, 3:40 PM
Severity
Important
Public date
Aug 1, 2026, 12:22 PM