4.8Media

CVE-2026-42041Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategy

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 Publicada: (hace 6 meses)

Descripción

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.

Debilidad (CWE): CWE-287CWE-1321CWE-915

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
acm 2.14 —
acm 2.15 —
acm 2.16 —
advanced cluster security 4.10 —
advanced cluster security 4.9 —
apache camel hawtio 4.4 —
axios axios >= 1.0.0, < 1.15.1, < 0.31.1
discovery 2 —
migration toolkit applications 8.1 —
multicluster engine 2.10 —
multicluster engine 2.11 —
multicluster engine 2.6 —
multicluster engine 2.8 —
multicluster engine 2.9 —
network observ optr 1.11 —
openshift 4.20 —
openshift 4.21 —
openshift ai 2.25 —
openshift devspaces 3.28 —
quay 3.10 —
quay 3.12 —
quay 3.14 —
quay 3.15 —
quay 3.16 —
quay 3.17 —
quay 3.9 —
Red Hat Cryostat 4 —
Red Hat Gatekeeper 3 —
Red Hat HawtIO HawtIO 4.4.0 —
Red Hat Migration Toolkit for Applications 8 all versions
Red Hat multicluster engine for Kubernetes 2.1 all versions
Red Hat multicluster engine for Kubernetes 2.11 all versions
Red Hat multicluster engine for Kubernetes 2.6 all versions
Red Hat multicluster engine for Kubernetes 2.8 all versions
Red Hat multicluster engine for Kubernetes 2.9 all versions
Red Hat Network Observability (NETOBSERV) 1.11.0 all versions
Red Hat OpenShift Pipelines all versions
Red Hat OpenShift Service Mesh 3 —
Red Hat Red Hat 3scale API Management Platform 2 all versions
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.14 all versions
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.15 all versions
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16 all versions
Red Hat Red Hat Advanced Cluster Security 4.9 all versions
Red Hat Red Hat Advanced Cluster Security for Kubernetes 4.10 all versions
Red Hat Red Hat Ansible Automation Platform 2 all versions
Red Hat Red Hat build of Apicurio Registry 2 all versions
Red Hat Red Hat build of Apicurio Registry 3 all versions
Red Hat Red Hat Build of Podman Desktop - Tech Preview all versions
Red Hat Red Hat Data Grid 8.6.1 —
Red Hat Red Hat Developer Hub 1.8 all versions
Red Hat Red Hat Developer Hub 1.9 all versions
Red Hat Red Hat Discovery 2 all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 —
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 all versions
Red Hat Red Hat Fuse 7 —
Red Hat Red Hat Hardened Images —
Red Hat Red Hat Migration Toolkit 1.8 all versions
Red Hat Red Hat Migration Toolkit for Applications 8.1 all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI (RHOAI) —
Red Hat Red Hat OpenShift Container Platform 4.20 all versions
Red Hat Red Hat OpenShift Container Platform 4.21 all versions
Red Hat Red Hat OpenShift Dev Spaces 3.28 all versions
Red Hat Red Hat OpenShift Service Mesh 2.6 all versions
Red Hat Red Hat OpenShift Service Mesh 3.0 all versions
Red Hat Red Hat OpenShift Service Mesh 3.1 all versions
Red Hat Red Hat OpenShift Service Mesh 3.2 all versions
Red Hat Red Hat OpenShift Service Mesh 3.3 all versions
Red Hat Red Hat Quay 3.10 all versions
Red Hat Red Hat Quay 3.12 all versions
Red Hat Red Hat Quay 3.14 all versions
Red Hat Red Hat Quay 3.15 all versions
Red Hat Red Hat Quay 3.16 all versions
Red Hat Red Hat Quay 3.17 all versions
Red Hat Red Hat Quay 3.9 all versions
Red Hat Red Hat Satellite 6.18 all versions
rhdh 1.8 —
rhdh 1.9 —
rhmt 1.8 —
satellite 6.18 —
service mesh 2.6 —
service mesh 3.0 —
service mesh 3.1 —
service mesh 3.2 —
service mesh 3.3 —

Referencias y parches

Coincidencias CPE (NVD) (2)

  • cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* < 0.31.1
  • cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* ≥ 1.0.0 < 1.15.1