CVE-2026-42033
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.
How to fix
- axios axios0.31.1, 1.15.1 or later
- axios1.15.1, 0.31.1 or later
- access.redhat.com/errata/RHSA-2026:25089
- access.redhat.com/errata/RHSA-2026:16874
- access.redhat.com/errata/RHSA-2026:36882
- access.redhat.com/errata/RHSA-2026:24539
- access.redhat.com/errata/RHSA-2026:25273
- access.redhat.com/errata/RHSA-2026:20938
- access.redhat.com/errata/RHSA-2026:20889
- access.redhat.com/errata/RHSA-2026:22619
- access.redhat.com/errata/RHSA-2026:21338
- access.redhat.com/errata/RHSA-2026:33574
- access.redhat.com/errata/RHSA-2026:14937
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| axios axios | v < 0.31.1, 1.0.0 ≤ v < 1.15.1 | 0.31.1, 1.15.1 |
| axiosnpm | 1.0.0 ≤ v < 1.15.1, v < 0.31.1 | 1.15.1, 0.31.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.