axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket… (CVE-2026-67313)
Axios versions 0.28.0 and later have a vulnerability involving uncontrolled recursion in the formDataToJSON function when processing FormData field names with deeply nested bracket segments. An attacker can craft FormData with field names containing thousands of nested brackets, causing a JavaScript call stack overflow and triggering a RangeError. This results in request failure or process termination if the application does not handle the exception properly.
AI Analysis
Technical Summary
The vulnerability in axios starting from version 0.28.0 arises from uncontrolled recursion in the formDataToJSON function. When processing FormData field names that contain deeply nested bracket segments, the recursion depth can grow excessively, exhausting the JavaScript call stack. This leads to a RangeError that can cause the request to fail or the entire process to terminate if the exception is unhandled. This is classified as a resource exhaustion issue (CWE-400). No known exploits are reported in the wild, and no patch or remediation guidance is currently available.
Potential Impact
Exploitation of this vulnerability can cause denial of service by exhausting the JavaScript call stack, resulting in request failures or process crashes in applications using vulnerable axios versions. There is no indication of privilege escalation or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications should implement exception handling around axios requests to gracefully manage potential RangeErrors caused by deeply nested FormData field names.
axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket… (CVE-2026-67313)
Description
Axios versions 0.28.0 and later have a vulnerability involving uncontrolled recursion in the formDataToJSON function when processing FormData field names with deeply nested bracket segments. An attacker can craft FormData with field names containing thousands of nested brackets, causing a JavaScript call stack overflow and triggering a RangeError. This results in request failure or process termination if the application does not handle the exception properly.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in axios starting from version 0.28.0 arises from uncontrolled recursion in the formDataToJSON function. When processing FormData field names that contain deeply nested bracket segments, the recursion depth can grow excessively, exhausting the JavaScript call stack. This leads to a RangeError that can cause the request to fail or the entire process to terminate if the exception is unhandled. This is classified as a resource exhaustion issue (CWE-400). No known exploits are reported in the wild, and no patch or remediation guidance is currently available.
Potential Impact
Exploitation of this vulnerability can cause denial of service by exhausting the JavaScript call stack, resulting in request failures or process crashes in applications using vulnerable axios versions. There is no indication of privilege escalation or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications should implement exception handling around axios requests to gracefully manage potential RangeErrors caused by deeply nested FormData field names.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fq2j-3j99-rx65
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-67313"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a6e6294bf32cb7a344f6937
Added to database: 08/01/2026, 21:18:12 UTC
Last enriched: 08/01/2026, 21:21:39 UTC
Last updated: 08/01/2026, 22:17:56 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.