{"id":"CVE-2026-42044","summary":"Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`","details":"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.","aliases":["GHSA-3w6x-2g7m-8v23"],"modified":"2026-05-18T06:00:10.211132715Z","published":"2026-04-24T17:49:49.517Z","related":["CGA-4x8j-h8f5-r539"],"database_specific":{"cwe_ids":["CWE-1321","CWE-915"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42044.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42044.json"},{"type":"ADVISORY","url":"https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42044"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/axios/axios","events":[{"introduced":"484aa4fe6addccbd32206a31eb3d2d000843066e"},{"fixed":"582934382e4e0e0bcb679c628071a4203e93cf57"}]}],"versions":["v1.15.1","v1.15.0","v1.14.0","v1.13.6","v1.13.5","v1.13.4","v1.13.3","v1.13.2","v1.13.1","v1.13.0","v1.12.2","v1.12.1","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.9","v1.7.8","v1.7.7","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.7.0-beta.2","v1.7.0-beta.1","v1.7.0-beta.0","v1.6.8","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","1.2.2","v1.2.1","v1.2.0","1.2.0-alpha.1","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42044.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"}]}