Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify API endpoint routing user input to axios serialization
-
DeliveryCraft request with '{}'-suffixed top-level key and deeply nested value
-
Exploitaxios defaultVisitor() calls JSON.stringify before depth guard
-
ExecutionRangeError: Maximum call stack size exceeded
-
PersistRequest handler crashes
-
ImpactDenial of service on affected path
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | All of the following conditions must hold simultaneously: (1) the target application passes user-controlled object data to axios as the data or params option for a multipart/form-data, application/x-www-form-urlencoded, or default parameter-serialized request; (2) the attacker can influence a top-level object key so that it ends in '{}'; and (3) the attacker can supply a sufficiently deeply nested object as the corresponding value. Applications that pre-construct FormData or URLSearchParams objects and pass them to axios directly are not affected. Custom paramsSerializer.serialize implementations that do not internally call axios toFormData are not affected. Deeply nested values whose keys do NOT end in '{}' still hit the intended AxiosError guard and are not exploitable via this specific bypass. Browser impact is confined to the affected tab or page context and does not affect other origins or sessions. |
| Impact | The CVSS 4.0 score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L) reflects a network-reachable, unauthenticated denial-of-service with limited availability impact. Real-world risk is conditional: exploitation requires the target application to route user-supplied object keys directly into axios serialization - a design pattern common in proxy and API-gateway patterns but not universal. No EPSS score was supplied in the source data, and there is no CISA KEV listing, so exploitation probability cannot be quantified beyond the described attack mechanism. The vendor CVSS 4.0 vector sets AT:N (no special attack requirements), which reflects the ease of exploitation once the precondition of key-name control is met; this analyst independently assesses AT:P given that the application architecture must expose user-controlled key names to the axios serialization path. The impact is availability-only - confidentiality and integrity are confirmed unaffected by the vendor advisory. Browser impact is confined to the affected tab or page context, making server-side Node.js applications the primary risk surface. |
| Exploit ScenarioDerived | An attacker sends an HTTP POST to a Node.js API that accepts JSON body parameters and forwards them to a downstream service via axios using multipart/form-data encoding. The attacker includes a field with the key name 'config{}' and a deeply nested object as its value; when axios processes the request, defaultVisitor() calls JSON.stringify() on the nested payload before the depth guard runs, triggering RangeError: Maximum call stack size exceeded and crashing the request handler. No public exploit code has been identified, but the precise code path and bypass condition are fully described in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 01, 2026
Denial of service in the axios HTTP client library allows remote attackers to crash server-side request paths by exploiting an incomplete depth-limit bypass introduced as a residual flaw after the prior fix for GHSA-62hf-57xw-28j9. Affected are npm axios versions 0.31.1 through 0.32.x and 1.15.1 through 1.17.x; server-side Node.js applications that accept user-controlled input and pass it to axios form or parameter serialization are the primary concern. No public exploit code has been identified and no CISA KEV listing exists, but the attack mechanism is fully documented in the vendor's GitHub security advisory, materially lowering the exploitation bar for motivated actors.
RemediationAI
Upgrade to axios 0.33.0 (for 0.x deployments) or axios 1.18.0 (for 1.x deployments); these releases contain the upstream fixes from GitHub PRs #11000 and #11001. The full vendor advisory is at https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23. If immediate upgrade is not possible, validate and reject any user-supplied object keys ending in '{}' before they reach the axios data or params arguments - this removes the triggering condition at the application boundary. Setting formSerializer.metaTokens: false is explicitly NOT a workaround: it changes only the emitted key name, while the vulnerable JSON.stringify() call is still executed on the value. Applications that pre-construct FormData or URLSearchParams objects and pass them to axios without relying on axios's internal toFormData helper are not affected and require no remediation action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
axios (cpe:2.3:a:axios:axios) is a promise-based HTTP client for Node.js and browsers and is among the most downloaded packages in the npm ecosystem. The vulnerability is classified as CWE-674 (Uncontrolled Recursion) and resides in lib/helpers/toFormData.js. The function defaultVisitor() contains a special branch for top-level object keys ending in '{}': before recursive traversal and before the formSerializer.maxDepth guard can fire, it calls JSON.stringify() directly on the value. Supplying an arbitrarily deep nested object as that value triggers a native JavaScript RangeError: Maximum call stack size exceeded rather than the intended AxiosError depth guard. The same vulnerable path is exercised via toURLEncodedForm.js, AxiosURLSearchParams.js, and the default request transforms in lib/defaults/index.js for multipart/form-data and application/x-www-form-urlencoded content types.
Know when Axios gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
AC:H reflects the dual precondition of controlling both the '{}'-suffixed key name and a deeply nested value through the application's data flow; availability impact is limited to the affected request path with no C/I impact confirmed.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
axios before 0.33.0 contains 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.
Blast Radius
ecosystem impact- 543 npm packages depend on axios (24 direct, 520 indirect)
Ecosystem-wide dependent count for version 0.31.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NO_PROXY protection bypass in Axios HTTP client (versions 1.0.0-1.15.0 and ≤0.31.0) lets an attacker who controls a requ
JSON response tampering in the Axios HTTP client (versions 1.0.0 up to but not including 1.15.2) lets an attacker who ca
Prototype pollution via the Node.js HTTP adapter in axios allows an attacker who controls `Object.prototype.proxy` to si
axios is a promise based HTTP client for the browser and node.js. Rated high severity (CVSS 7.7), this vulnerability is
Axios is a promise based HTTP client for the browser and Node.js. Rated high severity (CVSS 7.5), this vulnerability is
Axios versions up to 0.30.3 is affected by improper check for unusual or exceptional conditions (CVSS 7.5).
axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative
axios is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerability is
Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to acce
Prototype pollution in Axios HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification
Denial of service in Axios HTTP client before versions 1.15.1 and 0.31.1 allows remote unauthenticated attackers to cras
Prototype pollution in Axios library versions prior to 1.15.1 and 0.31.1 allows remote attackers to suppress HTTP error
Same weakness CWE-674 – Uncontrolled Recursion
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
EUVD-2026-51812
GHSA-3mcp-22mf-vrw3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB