CVE-2026-42044: Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`
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.
Security readout for executives and security teams
Plain-English summary
Axios versions 1.0.0 before 1.15.2 can let an existing prototype pollution issue silently alter JSON API responses. Business impact could include wrong authorization, privilege, or financial decisions based on tampered response data. The flaw is high severity, but exploitation depends on a separate pollution path already present in the application or dependencies.
Executive priority
Prioritize remediation in applications that make access-control, account, balance, or entitlement decisions from JSON API responses. Treat as urgent where axios is exposed alongside unpatched prototype pollution risks.
Technical view
Axios default transformResponse calls JSON.parse(data, this.parseReviver). Because parseReviver is taken from merged config and not constrained, a polluted Object.prototype.parseReviver can run on every JSON response key/value. This is described as a prototype pollution gadget, not necessarily the original pollution source. Affected axios versions are >=1.0.0 and <1.15.2; fixed in 1.15.2.
Likely exposure
Applications using axios 1.0.0 through 1.15.1 for JSON API handling are potentially exposed, especially if any dependency can pollute Object.prototype. Browser and Node.js usage are both relevant because axios supports both environments.
Exploitation context
No CISA KEV listing is indicated, and the provided sources do not state active exploitation. Attack feasibility is constrained by the need for an existing prototype pollution condition, reflected by CVSS attack complexity high.
Researcher notes
The issue is a gadget: impact depends on a separate path to Object.prototype pollution. Validate whether applications or dependencies can introduce parseReviver on Object.prototype, but avoid assuming exploitability from axios presence alone.
Mitigation direction
Upgrade axios to version 1.15.2 or later.
Regenerate lockfiles and redeploy applications that bundle axios.
Review Red Hat advisories if axios is consumed through Red Hat products.
Check vendor guidance for product-specific backports or mitigations.
Audit dependencies for known prototype pollution vulnerabilities.
Validation and detection
Inventory direct and transitive axios versions in package manifests and lockfiles.
Confirm runtime bundles no longer include axios versions below 1.15.2.
Review SCA results for CVE-2026-42044 and related prototype pollution issues.
Verify Red Hat package status against applicable RHSA advisories.
Test application authorization and financial workflows after dependency updates.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1321: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.