6.9Medium

CVE-2026-67321axios 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 Denial of Service via maxDepth bypass

axios axios Published: (3 months ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
axios axios 0.31.1 – < 0.33.0, fixed 0.33.0

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* ≥ 0.31.1 < 0.33.0
  • cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* ≥ 1.15.1 < 1.18.0