Skip to content
Fencer Vulns
high 8.2

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-rhel9
    affected: no fix available
  • Red Hat Ansible Automation Platform 2 automation-hub, automation-controller, ansible-automation-platform/automation-dashboard-rhel9
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat build of Apicurio Registry 2 axios
    affected: no fix planned “Will not fix”
  • Red Hat build of Apicurio Registry 3 apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9
    affected: 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 more
    affected: 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-portal
    affected: no fix available
  • Red Hat HawtIO HawtIO 4.4.0
    fixed: vendor fix RHSA-2026:25089
  • Red Hat multicluster engine for Kubernetes 2.6 multicluster-engine 1778511348
    fixed: vendor fix RHSA-2026:17657
show 26 more
  • Red Hat multicluster engine for Kubernetes 2.8 multicluster-engine 1778383863
    fixed: vendor fix RHSA-2026:17699
  • Red Hat multicluster engine for Kubernetes 2.9 multicluster-engine 1778532610
    fixed: vendor fix RHSA-2026:19109
  • Red Hat multicluster engine for Kubernetes 2.10 multicluster-engine/console-mce-rhel9 1780917531
    fixed: vendor fix RHSA-2026:24536
  • Red Hat multicluster engine for Kubernetes 2.11 multicluster-engine/console-mce-rhel9 1780910888
    fixed: vendor fix RHSA-2026:25271
  • Red Hat Network Observability (NETOBSERV) 1.11.0 network-observability 1778508956, network-observability 1778510461
    fixed: vendor fix RHSA-2026:16874
  • Red Hat Advanced Cluster Management for Kubernetes 2.14 rhacm2/console-rhel9 1783451729
    fixed: vendor fix RHSA-2026:36882
  • Red Hat Advanced Cluster Management for Kubernetes 2.15 rhacm2/console-rhel9 1780876734
    fixed: vendor fix RHSA-2026:24539
  • Red Hat Advanced Cluster Management for Kubernetes 2.16 rhacm2/console-rhel9 1780600823
    fixed: vendor fix RHSA-2026:25273
  • Red Hat Advanced Cluster Security 4.9 advanced-cluster-security/rhacs-main-rhel8 1779371594
    fixed: vendor fix RHSA-2026:20938
  • Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 advanced-cluster-security 1779293013
    fixed: vendor fix RHSA-2026:20889
  • Red Hat Ceph Storage 9.2 rhceph/rhceph-9-rhel10 1790843527
    fixed: vendor fix RHSA-2026:86618
  • Red Hat Data Grid 8.6.1
    fixed: vendor fix RHSA-2026:22619
  • Red Hat Developer Hub 1.8 rhdh/rhdh-hub-rhel9 1779841586
    fixed: vendor fix RHSA-2026:21338
  • Red Hat Developer Hub 1.9 rhdh/rhdh-hub-rhel9 1782761244
    fixed: vendor fix RHSA-2026:33574
  • Red Hat Discovery 2 discovery 1778156756
    fixed: vendor fix RHSA-2026:14937
  • Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 1780590717
    fixed: vendor fix RHSA-2026:25041
  • Red Hat Migration Toolkit for Applications 8.1 mta/mta-ui-rhel9 1785169013
    fixed: vendor fix RHSA-2026:50300
  • Red Hat OpenShift AI 2.25 rhoai/odh-dashboard-rhel9 1780467029, rhoai/odh-mod-arch-model-registry-rhel9 1780467147
    fixed: vendor fix RHSA-2026:24977
  • Red Hat OpenShift Container Platform 4.20 openshift4 1778645099
    fixed: vendor fix RHSA-2026:17468
  • Red Hat OpenShift Container Platform 4.21 openshift4 1778539338
    fixed: vendor fix RHSA-2026:17474
  • Red Hat OpenShift Dev Spaces 3.28 devspaces/code-rhel9 1779814592, devspaces/dashboard-rhel9 1779341289
    fixed: vendor fix RHSA-2026:21772
  • Red Hat OpenShift Service Mesh 2.6 openshift-service-mesh 1778191378, openshift-service-mesh 1778191473
    fixed: vendor fix RHSA-2026:16476
  • Red Hat OpenShift Service Mesh 3.0 openshift-service-mesh 1778163785, openshift-service-mesh 1778164208
    fixed: vendor fix RHSA-2026:16534
  • Red Hat OpenShift Service Mesh 3.1 openshift-service-mesh 1778163935, openshift-service-mesh 1778164042
    fixed: vendor fix RHSA-2026:16532
  • Red Hat OpenShift Service Mesh 3.2 openshift-service-mesh 1778163792, openshift-service-mesh 1778163909
    fixed: vendor fix RHSA-2026:16535
  • Red Hat OpenShift Service Mesh 3.3 openshift-service-mesh 1778163785, openshift-service-mesh 1778163986
    fixed: 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

Weakness
  • CWE-287 Improper Authentication
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

References

Sources

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.