Prototype Pollution in Axios

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.

Vulnerability class: Mass Assignment

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N.

EPSS exploit prediction

EPSS: 0.009 (56.9th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-42044: held from 0.006 to 0.009.

EPSS over last 30 days · oldest: 0.006 · newest: 0.009 · change: +0.003

Affected products

  • Axios — versions >= 1.0.0, < 1.15.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-42044?
CVE-2026-42044 is a medium-severity vulnerability in Axios, classified under Improperly Controlled Modification of Dynamically-Determined Object Attributes. CVSS score: 6.5/10. Published 2026-04-24.
How severe is CVE-2026-42044?
Medium severity. CVSS v3 base score is 6.5 out of 10.