CVE-2026-42041 json
Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategy
published 2026-04-24 6 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-25606 , GHSA-w9j2-pvgh-6h63
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm axios 0.31.1, 1.15.1
- Red Hat multicluster engine for Kubernetes 2.1 1780917531
- Red Hat multicluster engine for Kubernetes 2.11 1780910888
- Red Hat multicluster engine for Kubernetes 2.6 1778511348
- Red Hat multicluster engine for Kubernetes 2.8 1778383863
- Red Hat multicluster engine for Kubernetes 2.9 1778532610
- Red Hat Network Observability (NETOBSERV) 1.11.0 1778508956, 1778510461
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.14 1783451729
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.15 1780876734
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16 1780600823
- Red Hat Red Hat Advanced Cluster Security 4.9 1779371594
- Red Hat Red Hat Advanced Cluster Security for Kubernetes 4.10 1779293013
- Red Hat Red Hat Developer Hub 1.8 1779841586
- Red Hat Red Hat Developer Hub 1.9 1782761244
- Red Hat Red Hat Discovery 2 1778156756
- Red Hat Red Hat Migration Toolkit 1.8 1780590717
- Red Hat Red Hat Migration Toolkit for Applications 8.1 1785169013
- Red Hat Red Hat OpenShift AI 2.25 1780467029, 1780467147
- Red Hat Red Hat OpenShift Container Platform 4.20 1778645099
- Red Hat Red Hat OpenShift Container Platform 4.21 1778539338
- Red Hat Red Hat OpenShift Dev Spaces 3.28 1779341289, 1779814592
- Red Hat Red Hat OpenShift Service Mesh 2.6 1778191378, 1778191473
- Red Hat Red Hat OpenShift Service Mesh 3.0 1778163785, 1778164208
- Red Hat Red Hat OpenShift Service Mesh 3.1 1778163935, 1778164042
- Red Hat Red Hat OpenShift Service Mesh 3.2 1778163792, 1778163909
- Red Hat Red Hat OpenShift Service Mesh 3.3 1778163785, 1778163986
- Red Hat Red Hat Quay 3.10 1779822261
- Red Hat Red Hat Quay 3.12 1779811412
- Red Hat Red Hat Quay 3.14 1779689392
- Red Hat Red Hat Quay 3.15 1780891395
- node-axios Debian 14 1.15.2-1
debian advisories DEBIAN-CVE-2026-42041
- agama-web-ui openSUSE Leap 16.0 17+612.d8bf69336-160000.11.1
opensuse advisories openSUSE-SU-2026:20919-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-42041 updated cvss 8.2
axios: Axios: Authentication bypass due to prototype pollution of HTTP error handling
-
Red Hat Migration Toolkit for Applications 8 mta/mta-ui-rhel8 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9affected: no fix available
-
Red Hat Ansible Automation Platform 2 automation-hub, automation-controller, ansible-automation-platform/automation-dashboard-rhel9affected: no fix available, no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 2 axiosaffected: no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 3 apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9affected: no fix available
-
Red Hat Build of Podman Desktop - Tech Preview rhdesktop/rh-podman-desktop-ext-openshift-local-rhel10 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9 Red Hat OpenShift Container Platform 4 openshift3/ose-console, openshift4/ose-console, openshift4/ose-monitoring-plugin-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portalaffected: no fix available
-
Red Hat HawtIO HawtIO 4.4.0fixed: vendor fix RHSA-2026:25089
-
Red Hat multicluster engine for Kubernetes 2.6 multicluster-engine 1778511348fixed: vendor fix RHSA-2026:17657
show 26 moreshow fewer
-
Red Hat multicluster engine for Kubernetes 2.8 multicluster-engine 1778383863fixed: vendor fix RHSA-2026:17699
-
Red Hat multicluster engine for Kubernetes 2.9 multicluster-engine 1778532610fixed: vendor fix RHSA-2026:19109
-
Red Hat multicluster engine for Kubernetes 2.10 multicluster-engine/console-mce-rhel9 1780917531fixed: vendor fix RHSA-2026:24536
-
Red Hat multicluster engine for Kubernetes 2.11 multicluster-engine/console-mce-rhel9 1780910888fixed: vendor fix RHSA-2026:25271
-
Red Hat Network Observability (NETOBSERV) 1.11.0 network-observability 1778508956, network-observability 1778510461fixed: vendor fix RHSA-2026:16874
-
Red Hat Advanced Cluster Management for Kubernetes 2.14 rhacm2/console-rhel9 1783451729fixed: vendor fix RHSA-2026:36882
-
Red Hat Advanced Cluster Management for Kubernetes 2.15 rhacm2/console-rhel9 1780876734fixed: vendor fix RHSA-2026:24539
-
Red Hat Advanced Cluster Management for Kubernetes 2.16 rhacm2/console-rhel9 1780600823fixed: vendor fix RHSA-2026:25273
-
Red Hat Advanced Cluster Security 4.9 advanced-cluster-security/rhacs-main-rhel8 1779371594fixed: vendor fix RHSA-2026:20938
-
Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 advanced-cluster-security 1779293013fixed: vendor fix RHSA-2026:20889
-
Red Hat Ceph Storage 9.2 rhceph/rhceph-9-rhel10 1790843527fixed: vendor fix RHSA-2026:86618
-
Red Hat Data Grid 8.6.1fixed: vendor fix RHSA-2026:22619
-
Red Hat Developer Hub 1.8 rhdh/rhdh-hub-rhel9 1779841586fixed: vendor fix RHSA-2026:21338
-
Red Hat Developer Hub 1.9 rhdh/rhdh-hub-rhel9 1782761244fixed: vendor fix RHSA-2026:33574
-
Red Hat Discovery 2 discovery 1778156756fixed: vendor fix RHSA-2026:14937
-
Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 1780590717fixed: vendor fix RHSA-2026:25041
-
Red Hat Migration Toolkit for Applications 8.1 mta/mta-ui-rhel9 1785169013fixed: vendor fix RHSA-2026:50300
-
Red Hat OpenShift AI 2.25 rhoai/odh-dashboard-rhel9 1780467029, rhoai/odh-mod-arch-model-registry-rhel9 1780467147fixed: vendor fix RHSA-2026:24977
-
Red Hat OpenShift Container Platform 4.20 openshift4 1778645099fixed: vendor fix RHSA-2026:17468
-
Red Hat OpenShift Container Platform 4.21 openshift4 1778539338fixed: vendor fix RHSA-2026:17474
-
Red Hat OpenShift Dev Spaces 3.28 devspaces/code-rhel9 1779814592, devspaces/dashboard-rhel9 1779341289fixed: vendor fix RHSA-2026:21772
-
Red Hat OpenShift Service Mesh 2.6 openshift-service-mesh 1778191378, openshift-service-mesh 1778191473fixed: vendor fix RHSA-2026:16476
-
Red Hat OpenShift Service Mesh 3.0 openshift-service-mesh 1778163785, openshift-service-mesh 1778164208fixed: vendor fix RHSA-2026:16534
-
Red Hat OpenShift Service Mesh 3.1 openshift-service-mesh 1778163935, openshift-service-mesh 1778164042fixed: vendor fix RHSA-2026:16532
-
Red Hat OpenShift Service Mesh 3.2 openshift-service-mesh 1778163792, openshift-service-mesh 1778163909fixed: vendor fix RHSA-2026:16535
-
Red Hat OpenShift Service Mesh 3.3 openshift-service-mesh 1778163785, openshift-service-mesh 1778163986fixed: vendor fix RHSA-2026:16542
8 more fixed, 45 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CISA ADP | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | axios | >=1.0.0, <1.15.1 <0.31.1 |
1.15.1 0.31.1 |
Affected products
- axios axios
- Red Hat HawtIO HawtIO 4.4.0
- Red Hat Red Hat Data Grid 8.6.1
- Red Hat multicluster engine for Kubernetes 2.1
- Red Hat multicluster engine for Kubernetes 2.11
- Red Hat multicluster engine for Kubernetes 2.6
- Red Hat multicluster engine for Kubernetes 2.8
- Red Hat multicluster engine for Kubernetes 2.9
- Red Hat Network Observability (NETOBSERV) 1.11.0
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.14
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.15
- Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16
- Red Hat Red Hat Advanced Cluster Security 4.9
- Red Hat Red Hat Advanced Cluster Security for Kubernetes 4.10
- Red Hat Red Hat Developer Hub 1.8
- Red Hat Red Hat Developer Hub 1.9
- Red Hat Red Hat Discovery 2
- Red Hat Red Hat Migration Toolkit 1.8
- Red Hat Red Hat Migration Toolkit for Applications 8.1
- Red Hat Red Hat OpenShift AI 2.25
- Red Hat Red Hat OpenShift Container Platform 4.20
- Red Hat Red Hat OpenShift Container Platform 4.21
- Red Hat Red Hat OpenShift Dev Spaces 3.28
- Red Hat Red Hat OpenShift Service Mesh 2.6
- Red Hat Red Hat OpenShift Service Mesh 3.0
- Red Hat Red Hat OpenShift Service Mesh 3.1
- Red Hat Red Hat OpenShift Service Mesh 3.2
- Red Hat Red Hat OpenShift Service Mesh 3.3
- Red Hat Red Hat Quay 3.10
- Red Hat Red Hat Quay 3.12
- Red Hat Red Hat Quay 3.14
- Red Hat Red Hat Quay 3.15
- Red Hat Red Hat Quay 3.16
- Red Hat Red Hat Quay 3.17
- Red Hat Red Hat Quay 3.9
- Red Hat Red Hat Satellite 6.18
- Red Hat Cryostat 4
- Red Hat Gatekeeper 3
- Red Hat Migration Toolkit for Applications 8
- Red Hat OpenShift Pipelines
- Red Hat OpenShift Service Mesh 3
- Red Hat Red Hat 3scale API Management Platform 2
- Red Hat Red Hat Ansible Automation Platform 2
- Red Hat Red Hat build of Apicurio Registry 2
- Red Hat Red Hat build of Apicurio Registry 3
- Red Hat Red Hat Build of Podman Desktop - Tech Preview
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Red Hat Fuse 7
Classification
References
-
github.com
/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63
exploit, web, mitigation, vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25089
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16874
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:36882
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:24539
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25273
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:20938
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:20889
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:22619
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:21338
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:33574
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:14937
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25041
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:50300
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:24977
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:17468
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:17474
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:21772
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16476
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16534
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16532
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16535
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16542
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:22840
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:22629
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:21017
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:24853
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:19375
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:22465
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:23361
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:26214
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:26232
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:26225
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25271
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:24536
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:17657
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:17699
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:19109
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-42041
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2461629
issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2026-42041
advisory
-
github.com
/axios/axios
package
Sources
- CVE List CVE-2026-42041
- GitHub Advisory GHSA-w9j2-pvgh-6h63
- NVD CVE-2026-42041
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.