Uncontrolled Recursion in axios - CVE-2026-42039

 

Uncontrolled Recursion in axios - CVE-2026-42039

Published: April 24, 2026


Vulnerability identifier: #VU127598
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2026-42039
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled recursion in toFormData in lib/helpers/toFormData.js when processing deeply nested request data or params objects. A remote attacker can send a deeply nested object to cause a denial of service.

The issue can be reached in server-side code that forwards client-controlled objects into axios request data or params, and may terminate the running request handler or process with a RangeError.


Affected software

axios
Storage Sentinel Anomaly Scan Engine
IBM supplied MQ Advanced container images
Rational Developer for i
IBM Cloud Pak System
IBM MQ Operator
IBM Sterling Secure Proxy
IBM Sterling External Authentication Server
IBM Decision Optimization for Cloud Pak for Data
JBoss Data Grid

How to mitigate CVE-2026-42039

Install security update from vendor's website.

axios - addressed in versions 0.31.1, 1.15.1
Storage Sentinel Anomaly Scan Engine - update to 2.3.1
IBM Cloud Pak System - update to 2.3.5.1
IBM MQ Operator - addressed in versions 3.2.26 SC2, 4.0.1 SC2
IBM Sterling Secure Proxy - addressed in versions 6.1.0.4 iFix01, 6.2.1.2.iFix02
IBM Sterling External Authentication Server - update to 6.1.1.3 iFix01
IBM supplied MQ Advanced container images - update to 10.0.0.0-r2
Rational Developer for i - update to 9.9.0.4
IBM Decision Optimization for Cloud Pak for Data - update to 5.3.1 patch 6
JBoss Data Grid - update to 8.6.1

External References

Related Security Bulletins