CVE-2026-42041: axios · Improper Authentication
Affects axiosSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium : upgrade to 1.15.1 or 0.31.1 when convenient.
Data as of 12 Nov 2026, 00:35 UTC
Contested
Scorers differ by 2 or more points| CNA (GitHub_M) | CVSS 3.1 | 4.8 |
|---|---|---|
| ADP (redhat-SADP) | CVSS 3.1 | 8.2 |
- Patch
- Available – fixed in 1.15.1, 0.31.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Upgrade axios to 1.15.1 or 0.31.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| axios axios | Affected
| Fixed in
|
Description
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution to silently suppress all HTTP error responses (401, 403, 500, etc.), causing them to be treated as successful responses. This completely bypasses application-level authentication and error handling. The root cause is that validateStatus is the only config property using the mergeDirectKeys merge strategy, which uses JavaScript's in operator — an operator that inherently traverses the prototype chain. When Object.prototype.validateStatus is polluted with () => true, all HTTP status codes are accepted as success. This vulnerability is fixed in 1.15.1 and 0.31.1.
References
- github.com/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-42041 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2461629 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42041.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25089 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16874 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36882 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24539 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25273 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:20938 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:20889 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22619 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21338 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33574 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14937 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25041 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:50300 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24977 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17468 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17474 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21772 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16476 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16534 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16532 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16535 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16542 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22840 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22629 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21017 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19375 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22465 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:23361 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26214 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26232 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26225 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25271 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24536 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17657 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17699 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19109 (opens in a new tab)