CVE-2026-42044

Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.15.2, he Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution in the application's dependency tree to be escalated into surgical, invisible modification of all JSON API responses — including privilege escalation, balance manipulation, and authorization bypass. The default transformResponse function at lib/defaults/index.js:124 calls JSON.parse(data, this.parseReviver), where this is the merged config object. Because parseReviver is not present in Axios defaults, not validated by assertOptions, and not subject to any constraints, a polluted Object.prototype.parseReviver function is called for every key-value pair in every JSON response, allowing the attacker to selectively modify individual values while leaving the rest of the response intact. This vulnerability is fixed in 1.15.2.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*

History

27 Apr 2026, 20:04

Type Values Removed Values Added
First Time Axios axios
Axios
References () https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23 - () https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23 - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*

24 Apr 2026, 19:17

Type Values Removed Values Added
References () https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23 - () https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23 -

24 Apr 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-24 18:16

Updated : 2026-04-27 20:04


NVD link : CVE-2026-42044

Mitre link : CVE-2026-42044

CVE.ORG link : CVE-2026-42044


JSON object : View

Products Affected

axios

  • axios
CWE
CWE-915

Improperly Controlled Modification of Dynamically-Determined Object Attributes

CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')