CVE-2026-67321 Details
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.
A denial-of-service vulnerability has been identified in Axios versions prior to 0.33.0. The issue arises from an incomplete depth-limit bypass in the form data serialization process. When objects with top-level keys ending in '{}' are serialized, the depth guard fails to inspect nested structures properly. This flaw allows attackers to manipulate object keys and values, triggering a RangeError from JSON.stringify() and causing a denial-of-service condition in the affected request path.
Axios users can update to version 0.33.0 or 1.18.0 and later, where this vulnerability has been patched. For applications that cannot be updated, it is recommended to validate and limit the depth of untrusted objects before serialization, or to manually construct FormData or URLSearchParams after ensuring the input depth is acceptable.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23 | [email protected] | ExploitVendor Advisory |
| https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-maxdepth-bypass | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | >= 0.31.1, < 0.33.0 >= 1.15.1, < 1.18.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 1, 2026 | Initial Analysis | [email protected] |
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 2, 2026 | CVE Modified | [email protected] |
| Aug 1, 2026 | New CVE Received | [email protected] |