Home

Description

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, when Object.prototype has been polluted by any co-dependency with keys that axios reads without a hasOwnProperty guard, an attacker can (a) silently intercept and modify every JSON response before the application sees it, or (b) fully hijack the underlying HTTP transport, gaining access to request credentials, headers, and body. The precondition is prototype pollution from a separate source in the same process. This vulnerability is fixed in 1.15.1 and 0.31.1.

PUBLISHED Reserved 2026-04-23 | Published 2026-04-24 | Updated 2026-04-25 | Assigner GitHub_M




HIGH: 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Problem types

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Product status

>= 1.0.0, < 1.15.1
affected

< 0.31.1
affected

References

github.com/.../axios/security/advisories/GHSA-pf86-5x62-jrwf exploit

github.com/.../axios/security/advisories/GHSA-pf86-5x62-jrwf

cve.org (CVE-2026-42033)

nvd.nist.gov (CVE-2026-42033)

Download JSON