high7.5
CVE-2026-67321
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 …
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 '{}'. 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | axios | >= 0.31.1, < 0.33.0 | 0.33.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Axios | Axios | from 0.31.1 before 0.33.0 from 1.15.1 before 1.18.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-hcpx-6fm6-wx23
- https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23
- https://github.com/axios/axios/pull/11000
- https://github.com/axios/axios/pull/11001
- https://github.com/axios/axios/commit/1417285c69344bbcc6420a021f67dee0c6fedb2d
- https://github.com/axios/axios/commit/32fc489632377d214db55bfa4e2c48486a7d7ce2
- https://github.com/axios/axios/releases/tag/v0.33.0
- https://github.com/axios/axios/releases/tag/v1.18.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-67321
- https://nvd.nist.gov/vuln/detail/CVE-2026-69125
- https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-maxdepth-bypass