rewindex

RewindexCVEs

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

Medium · CVSS 4.8 (CVSS 3.1)EPSS 0.66%, 51th percentilePublished Updated Assigner: GitHub_M

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.

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N · CWE-1321, CWE-287

Tracked companies

BitbucketConfluence

Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

axios: axiosRed Hat: Cryostat 4Red Hat: Gatekeeper 3Red Hat: HawtIO HawtIO 4.4.0Red Hat: Migration Toolkit for Applications 8Red Hat: multicluster engine for Kubernetes 2.1Red Hat: multicluster engine for Kubernetes 2.11Red Hat: OpenShift PipelinesRed Hat: OpenShift Service Mesh 3Red Hat: Red Hat 3scale API Management Platform 2Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2.14Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2.15Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2.16Red Hat: Red Hat Advanced Cluster Security 4.9Red Hat: Red Hat Advanced Cluster Security for Kubernetes 4.10Red Hat: Red Hat Ansible Automation Platform 2Red Hat: Red Hat build of Apicurio Registry 2Red Hat: Red Hat build of Apicurio Registry 3Red Hat: Red Hat Build of Podman Desktop - Tech PreviewRed Hat: Red Hat Data Grid 8.6.1Red Hat: Red Hat Discovery 2Red Hat: Red Hat Enterprise Linux 8Red Hat: Red Hat Enterprise Linux 9Red Hat: Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat: Red Hat Fuse 7Red Hat: Red Hat Hardened ImagesRed Hat: Red Hat Migration Toolkit for Applications 8.1Red Hat: Red Hat OpenShift AI (RHOAI)Red Hat: Red Hat OpenShift Container Platform 4Red Hat: Red Hat OpenShift Virtualization 4Red Hat: Red Hat Process Automation 7Red Hat: Red Hat Trusted Artifact SignerRed Hat: Red Hat Trusted Profile AnalyzerRed Hat: Self-service automation portal 2Red Hat: streams for Apache Kafka 2Red Hat: streams for Apache Kafka 3

References

All CVEsMarkdownJSON