Vulnerability · Published Apr 24, 2026 · Assigned by GitHub_M

CVE-2026-42044Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`

Medium 6.5

In plain English

A medium-severity prototype pollution in axios from axios. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 50.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-axiosno fix listedDEBIAN-CVE-2026-42044
Debian:13node-axiosno fix listedDEBIAN-CVE-2026-42044
Debian:14node-axios1.15.2-1DEBIAN-CVE-2026-42044
Ubuntu:25.10node-axiosno fix listedUBUNTU-CVE-2026-42044
npmaxios1.15.2GHSA-3w6x-2g7m-8v23

Affected products (as reported)

VendorProductVersions
axios axios >= 1.0.0, < 1.15.2

Weakness: CWE-915, CWE-1321 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

References