Axios 1.15.1/0.31.1 CRASH via toFormData deep nesting
CVE-2026-42039 Published on April 24, 2026

Axios: unbounded recursion in toFormData causes DoS via deeply nested request data
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with a RangeError. This vulnerability is fixed in 1.15.1 and 0.31.1.

NVD

Vulnerability Analysis

CVE-2026-42039 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Types

What is a Stack Exhaustion Vulnerability?

The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.

CVE-2026-42039 has been classified to as a Stack Exhaustion vulnerability or weakness.

Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.


Products Associated with CVE-2026-42039

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-42039 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

axios: Red Hat HawtIO HawtIO 4.4.0: Red Hat Network Observability (NETOBSERV) 1.11.2: Red Hat Network Observability (NETOBSERV) 1.12.0: Red Hat Advanced Cluster Management for Kubernetes 2.15: Red Hat Advanced Cluster Management for Kubernetes 2.16: Red Hat Advanced Cluster Security for Kubernetes 4.10: Red Hat Advanced Cluster Security for Kubernetes 4.9: Red Hat Data Grid 8.6.1: Red Hat Developer Hub 1.8: Red Hat Developer Hub 1.9: Red Hat Discovery 2: Red Hat Migration Toolkit 1.8: Red Hat OpenShift AI 2.25: Red Hat OpenShift Container Platform 4.20: Red Hat OpenShift Container Platform 4.21: Red Hat OpenShift Dev Spaces 3.28: Red Hat OpenShift Service Mesh 2.6: Red Hat OpenShift Service Mesh 3.0: Red Hat OpenShift Service Mesh 3.1: Red Hat OpenShift Service Mesh 3.2: Red Hat OpenShift Service Mesh 3.3: Red Hat Quay 3.12: Red Hat Quay 3.14: Red Hat Quay 3.15: Red Hat Quay 3.16: Red Hat Quay 3.17: Red Hat Quay 3.1: Red Hat Quay 3.9: Red Hat Satellite 6.18: Red Hat multicluster engine for Kubernetes 2.10: Red Hat multicluster engine for Kubernetes 2.11: Red Hat multicluster engine for Kubernetes 2.6: Red Hat multicluster engine for Kubernetes 2.8: Red Hat multicluster engine for Kubernetes 2.9: Red Hat Migration Toolkit for Applications 8: Red Hat Network Observability Operator: Red Hat OpenShift Pipelines: Red Hat Ansible Automation Platform 2: Red Hat build of Apicurio Registry 2: Red Hat build of Apicurio Registry 3: Red Hat Build of Podman Desktop - Tech Preview: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux AI (RHEL AI) 3: Red Hat OpenShift AI (RHOAI): Red Hat OpenShift Container Platform 4: Red Hat Satellite 6: Red Hat Self-service automation portal 2: Red Hat Cryostat 4: Red Hat Gatekeeper 3: Red Hat OpenShift Service Mesh 3: Red Hat 3scale API Management Platform 2: Red Hat Enterprise Linux 9: Red Hat Fuse 7: Red Hat Hardened Images: Red Hat OpenShift Virtualization 4: Red Hat Process Automation 7: Red Hat Trusted Artifact Signer: Red Hat Trusted Profile Analyzer: Red Hat streams for Apache Kafka 2: Red Hat streams for Apache Kafka 3:

Exploit Probability

EPSS
0.41%
Percentile
32.86%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.