CVE-2026-42044: Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`
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.
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N · CWE-1321, CWE-915
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
axios: axiosRed Hat: Cryostat 4Red Hat: Gatekeeper 3Red Hat: HawtIO HawtIO 4.4.0Red Hat: Migration Toolkit for Applications 8Red Hat: Network Observability OperatorRed Hat: OpenShift PipelinesRed Hat: OpenShift Service Mesh 3Red Hat: Red Hat 3scale API Management Platform 2Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2.14Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2.15Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2.16Red Hat: Red Hat Advanced Cluster Security 4.9Red Hat: Red Hat Advanced Cluster Security for Kubernetes 4.10Red Hat: Red Hat Ansible Automation Platform 2Red Hat: Red Hat Ansible Automation Platform 2.5 for RHEL 8Red Hat: Red Hat Ansible Automation Platform 2.5 for RHEL 9Red Hat: Red Hat build of Apicurio Registry 2Red Hat: Red Hat build of Apicurio Registry 3Red Hat: Red Hat Build of Podman Desktop - Tech PreviewRed Hat: Red Hat Data Grid 8Red Hat: Red Hat Developer HubRed Hat: Red Hat Enterprise Linux 8Red Hat: Red Hat Enterprise Linux 9Red Hat: Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat: Red Hat Fuse 7Red Hat: Red Hat Hardened ImagesRed Hat: Red Hat OpenShift AI (RHOAI)Red Hat: Red Hat OpenShift Container Platform 4Red Hat: Red Hat OpenShift Virtualization 4Red Hat: Red Hat Process Automation 7Red Hat: Red Hat Trusted Profile AnalyzerRed Hat: Self-service automation portal 2Red Hat: Streams for Apache Kafka 2.9.4Red Hat: streams for Apache Kafka 3
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)