Description
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
- www.cve.org/CVERecord ↗
- nvd.nist.gov/vuln/detail/CVE-2026-42044 ↗
- github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23 ↗
- access.redhat.com/errata/RHSA-2026:16532 ↗
- access.redhat.com/errata/RHSA-2026:16534 ↗
- access.redhat.com/errata/RHSA-2026:16535 ↗
- access.redhat.com/errata/RHSA-2026:16542 ↗
- access.redhat.com/errata/RHSA-2026:17657 ↗
- access.redhat.com/errata/RHSA-2026:17699 ↗
- access.redhat.com/errata/RHSA-2026:19109 ↗
- access.redhat.com/errata/RHSA-2026:19375 ↗
- access.redhat.com/errata/RHSA-2026:20338 ↗
- access.redhat.com/errata/RHSA-2026:20454 ↗
- access.redhat.com/errata/RHSA-2026:20889 ↗
- access.redhat.com/errata/RHSA-2026:20938 ↗
- access.redhat.com/errata/RHSA-2026:21017 ↗
- access.redhat.com/errata/RHSA-2026:21338 ↗
- access.redhat.com/errata/RHSA-2026:21772 ↗
- access.redhat.com/errata/RHSA-2026:22465 ↗
- access.redhat.com/errata/RHSA-2026:22629 ↗
- access.redhat.com/errata/RHSA-2026:22840 ↗
- access.redhat.com/errata/RHSA-2026:23361 ↗
- access.redhat.com/errata/RHSA-2026:24471 ↗
- access.redhat.com/errata/RHSA-2026:24473 ↗
- access.redhat.com/errata/RHSA-2026:24536 ↗
- access.redhat.com/errata/RHSA-2026:24539 ↗
- access.redhat.com/errata/RHSA-2026:24853 ↗
- access.redhat.com/errata/RHSA-2026:25041 ↗
- access.redhat.com/errata/RHSA-2026:25089 ↗
- access.redhat.com/errata/RHSA-2026:25271 ↗
- access.redhat.com/errata/RHSA-2026:25273 ↗
- access.redhat.com/errata/RHSA-2026:26214 ↗
Related CVEs
← CVE Index: search every CVE from the last 30 days
This product uses the NVD API but is not endorsed or certified by the NVD. CVSS scores do not establish exploitation.