Description
axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 contain an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.
Published: 2026-08-01
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 contain an incomplete depth‑limit bypass in toFormData.js when serializing objects with top‑level keys ending in '{}'. When an attacker supplies such keys and nested values, the JSON.stringify call recurses without bound, causing a RangeError that aborts the current request and leads to application‑level denial of service. The flaw mirrors CWE‑674 and CWE‑770, representing an uncontrolled recursion or invalid recursion depth and resource exhaustion that harms availability of services relying on axios for request serialization.

Affected Systems

The affected product is the popular Axios HTTP client for Node.js, specifically releases prior to 0.33.0 in the 0.x series and prior to 1.18.0 in the 1.x series. Any Node.js application that imports Axios and uses its form or parameter serialization features is vulnerable, regardless of surrounding environment or configuration.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity. The EPSS score of <1% indicates a very low probability of exploitation, but it is still noteworthy that the vulnerability is not listed in CISA's KEV catalog. The attack vector is inferred to be remote: a maliciously crafted HTTP request carrying a payload that satisfies Axios's form or query parameter serialization can trigger the crash. No elevated privileges or code execution are required; the attack merely stops the affected request from completing, making it a classic resource exhaustion problem.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axios to version 0.33.0 or newer for the 0.x series, or to 1.18.0 or newer for the 1.x series, which removes the faulty depth‑limit check.
  • If an upgrade is not immediately feasible, sanitize or validate incoming request data to ensure that object keys do not end with '{}' and that nested depth does not exceed a safe threshold before passing them to Axios's serialization functions, thereby preventing the uncontrolled recursion and resource exhaustion.
  • Apply application‑level rate limiting or request throttling to mitigate repeated crash attempts during the remediation window.

Generated by OpenCVE AI on August 4, 2026 at 22:10 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 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 02 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Description axios before 0.33.0 contains an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path. axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 contain an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.
Title axios before 0.33.0 Denial of Service via maxDepth bypass axios 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 Denial of Service via maxDepth bypass

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

Type Values Removed Values Added
Description axios before 0.33.0 contains an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.
Title axios before 0.33.0 Denial of Service via maxDepth bypass
First Time appeared Axios
Axios axios
Weaknesses CWE-674
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Vendors & Products Axios
Axios axios
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/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-03T15:18:48.315Z

Reserved: 2026-07-29T13:07:21.183Z

Link: CVE-2026-67321

cve-icon Vulnrichment

Updated: 2026-08-03T15:18:21.254Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-03T16:16:30.673

Link: CVE-2026-67321

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-67321 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling