axios before 0.33.0 contains an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. (CVE-2026-67321)
Axios versions before 0.33.0 have an incomplete depth-limit bypass vulnerability in the toFormData.js module. This occurs when serializing objects with top-level keys ending in '{}'. An attacker controlling object keys and nested values passed to axios form or parameter serialization can trigger a RangeError via JSON.stringify, leading to denial of service in the affected request path.
AI Analysis
Technical Summary
The vulnerability in axios prior to version 0.33.0 involves an incomplete depth-limit bypass in the toFormData.js serialization logic. Specifically, when objects with top-level keys ending in '{}' are serialized, attackers who can control these keys and nested values may cause JSON.stringify to throw a RangeError. This results in a denial of service condition affecting the request path that uses axios for form or parameter serialization.
Potential Impact
An attacker able to influence object keys and nested values passed to axios serialization can cause a RangeError exception, leading to denial of service for the affected request. There is no indication of privilege escalation, data disclosure, or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing untrusted or attacker-controlled objects with keys ending in '{}' to axios form or parameter serialization to reduce risk of denial of service.
axios before 0.33.0 contains an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. (CVE-2026-67321)
Description
Axios versions before 0.33.0 have an incomplete depth-limit bypass vulnerability in the toFormData.js module. This occurs when serializing objects with top-level keys ending in '{}'. An attacker controlling object keys and nested values passed to axios form or parameter serialization can trigger a RangeError via JSON.stringify, leading to denial of service in the affected request path.
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 prior to version 0.33.0 involves an incomplete depth-limit bypass in the toFormData.js serialization logic. Specifically, when objects with top-level keys ending in '{}' are serialized, attackers who can control these keys and nested values may cause JSON.stringify to throw a RangeError. This results in a denial of service condition affecting the request path that uses axios for form or parameter serialization.
Potential Impact
An attacker able to influence object keys and nested values passed to axios serialization can cause a RangeError exception, leading to denial of service for the affected request. There is no indication of privilege escalation, data disclosure, or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing untrusted or attacker-controlled objects with keys ending in '{}' to axios form or parameter serialization to reduce risk of denial of service.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3mcp-22mf-vrw3
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-67321"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a6e6293bf32cb7a344f68d1
Added to database: 08/01/2026, 21:18:11 UTC
Last enriched: 08/01/2026, 21:21:14 UTC
Last updated: 08/01/2026, 22:18:00 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.