PT-2026-67301

CVE-2026-67321

·

Published

2026-07-06

·

Updated

2026-10-06

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions axios versions 0.31.1 through 0.32.x axios versions 1.15.1 through 1.17.x
Description An incomplete depth-limit bypass exists in lib/helpers/toFormData.js when serializing objects with top-level keys ending in {}. When such a key is present, the software calls JSON.stringify() on the value before the formSerializer.maxDepth guard can inspect the nested structure. An attacker who controls object keys and nested values passed to axios form or parameter serialization can trigger a RangeError (Maximum call stack size exceeded), leading to a denial of service in the affected request path.
This issue affects the following components:
  • lib/helpers/toFormData.js (specifically the defaultVisitor() function)
  • lib/helpers/toURLEncodedForm.js
  • lib/helpers/AxiosURLSearchParams.js
  • Request transforms in lib/defaults/index.js when using multipart/form-data or application/x-www-form-urlencoded.
Recommendations Update axios to version 0.33.0 or later. Update axios to version 1.18.0 or later. As a temporary workaround, reject or depth-limit untrusted objects before passing them to axios serialization. Strip or reject top-level keys ending in {} from untrusted objects when using axios form serialization. For query parameters, use a custom paramsSerializer.serialize that enforces a depth limit. For form bodies, construct FormData or URLSearchParams manually after validating input depth.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3MCP-22MF-VRW3
GHSA-HCPX-6FM6-WX23
ECHO-09EB-E0FE-E165
OPENSUSE-SU-2026:11680-1
RHSA-2026:47619
RHSA-2026:48241
RHSA-2026:48758
Found an issue in the description? Have something to add? Feel free to write us 👾