CVE-2026-67312
Received Received - Intake

Uncontrolled Recursion in Axios FormData Handling

Vulnerability report for CVE-2026-67312, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-01

Last updated on: 2026-08-01

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-01
Last Modified
2026-08-01
Generated
2026-08-01
AI Q&A
2026-08-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
axios axios From 0.28.0 (inc) to 0.33.0 (exc)
axios axios From 1.0.0 (inc) to 1.18.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the axios library versions between 0.28.0 to 0.33.0 and 1.0.0 to 1.18.0. It involves uncontrolled recursion in the formDataToJSON function, which is used when serializing FormData with Content-Type application/json. Attackers can exploit this by sending FormData with field names containing thousands of nested bracket-delimited segments, causing a stack overflow and denial of service.

Detection Guidance

To detect this vulnerability, check if your system uses vulnerable versions of axios (0.28.0 to 0.32.x or 1.0.0 to 1.17.x). Run: npm list axios or yarn list axios. If the version is within the affected range, the system is vulnerable.

Impact Analysis

This vulnerability can cause denial of service for affected applications by crashing the server or process due to stack exhaustion. Applications using vulnerable axios versions may become unresponsive or terminate unexpectedly when processing malicious FormData input.

Mitigation Strategies

Upgrade axios to version 0.33.0 or later, or 1.18.0 or later. Use: npm update axios or yarn upgrade axios. If upgrading is not possible, implement input validation to restrict FormData field names and prevent deeply nested structures.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-67312. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart