{"id":"UBUNTU-CVE-2026-42044","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.","modified":"2026-08-14T20:45:12.391926257Z","published":"2026-04-24T18:16:00Z","related":["USN-8638-1"],"upstream":["CVE-2026-42044"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42044"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42044"},{"type":"REPORT","url":"https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8638-1"}],"affected":[{"package":{"name":"node-axios","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.9+dfsg-1","1.8.4+dfsg-1","1.11.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"1.11.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42044.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.2+dfsg-1ubuntu0.1~esm1"}]}],"versions":["1.11.0+dfsg-1","1.12.1+dfsg-1","1.13.2+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.13.2+dfsg-1ubuntu0.1~esm1","binary_name":"node-axios"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42044.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}