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

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-24T17:55:30.036Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-w9j2-pvgh-6h63
- Weaknesses: CWE-287, CWE-915, CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- axios axios: >= 1.0.0, < 1.15.1; < 0.31.1; before 0.31.1; from 1.0.0 before 1.15.1
- axios: no versions given
- multicluster-engine/console-mce-rhel9: no versions given (not affected: from 1780917531 before *; from 1780910888 before *; from 1778511348 before *; from 1778383863 before *; from 1778532610 before *)
- network-observability/network-observability-console-plugin-compat-rhel9: no versions given (not affected: from 1778508956 before *)
- network-observability/network-observability-console-plugin-rhel9: no versions given (not affected: from 1778510461 before *)
- rhacm2/console-rhel9: no versions given (not affected: from 1783451729 before *; from 1780876734 before *; from 1780600823 before *)
- advanced-cluster-security/rhacs-main-rhel8: no versions given (not affected: from 1779371594 before *; from 1779293013 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1779841586 before *; from 1782761244 before *)
- discovery/discovery-ui-rhel9: no versions given (not affected: from 1778156756 before *)
- rhmtc/openshift-migration-ui-rhel8: no versions given (not affected: from 1780590717 before *)
- mta/mta-ui-rhel9: no versions given (not affected: from 1785169013 before *)
- rhoai/odh-dashboard-rhel9: no versions given (not affected: from 1780467029 before *)
- rhoai/odh-mod-arch-model-registry-rhel9: no versions given (not affected: from 1780467147 before *)
- openshift4/ose-agent-installer-ui-rhel9: no versions given (not affected: from 1778645099 before *; from 1778539338 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1779814592 before *)
- devspaces/dashboard-rhel9: no versions given (not affected: from 1779341289 before *)
- openshift-service-mesh/kiali-ossmc-rhel8: no versions given (not affected: from 1778191473 before *)
- openshift-service-mesh/kiali-rhel8: no versions given (not affected: from 1778191378 before *)
- openshift-service-mesh/kiali-ossmc-rhel9: no versions given (not affected: from 1778163785 before *; from 1778163935 before *; from 1778163792 before *)
- openshift-service-mesh/kiali-rhel9: no versions given (not affected: from 1778164208 before *; from 1778164042 before *; from 1778163909 before *; from 1778163986 before *)
- quay/quay-rhel8: no versions given (not affected: from 1779822261 before *; from 1779811412 before *; from 1779689392 before *; from 1780891395 before *; from 1779811473 before *)
- quay/quay-rhel9: no versions given (not affected: from 1779204086 before *; from 1779922205 before *)
- satellite/iop-advisor-frontend-rhel9: no versions given (not affected: from 1781181673 before *)
- satellite/iop-vulnerability-frontend-rhel9: no versions given (not affected: from 1781032495 before *)
- satellite/iop-host-inventory-frontend-rhel9: no versions given (not affected: from 1780105179 before *)
- gatekeeper/gatekeeper-rhel9: no versions given
- mta/mta-ui-rhel8: no versions given
- openshift-pipelines/pipelines-hub-ui-rhel8: no versions given
- openshift-pipelines/pipelines-hub-ui-rhel9: no versions given
- openshift-service-mesh/kiali-operator-bundle: no versions given
- openshift-service-mesh/kiali-rhel9-operator: no versions given
- 3scale-amp21/system: no versions given
- 3scale-amp22/system: no versions given
- 3scale-amp2/system-rhel7: no versions given
- 3scale-amp2/system-rhel8: no versions given
- 3scale-amp2/system-rhel9: no versions given
- ansible-automation-platform-26/gateway-rhel9: no versions given
- ansible-automation-platform/automation-dashboard-rhel9: no versions given
- automation-controller: no versions given
- automation-gateway: no versions given
- automation-hub: no versions given
- automation-platform-ui: no versions given
- python3.11-galaxy-ng: no versions given
- python3.12-galaxy-ng: no versions given
- python3x-galaxy-ng: no versions given
- python-galaxy-ng: no versions given
- apicurio/apicurio-registry-ui-rhel8: no versions given
- apicurio/apicurio-registry-ui-rhel9: no versions given
- rhdesktop/rh-podman-desktop-ext-openshift-local-rhel10: no versions given
- grafana: no versions given
- rhelai3/bootc-cuda-rhel9: no versions given
- rhelai3/bootc-rocm-rhel9: no versions given
- rhelai3/disk-image-cuda-rhel9: no versions given
- boost: no versions given
- rhoai/odh-dashboard-rhel8: no versions given
- rhoai/odh-mod-arch-gen-ai-rhel9: no versions given
- rhoai/odh-mod-arch-maas-rhel9: no versions given
- openshift3/ose-console: no versions given
- openshift4/ose-console: no versions given
- openshift4/ose-console-rhel9: no versions given
- and 7 more: see the JSON

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- redhat-SADP: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63> (exploit, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-42041> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2461629> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42041.json>
- <https://access.redhat.com/errata/RHSA-2026:25089> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16874> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36882> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24539> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25273> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:20938> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:20889> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22619> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21338> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33574> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14937> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25041> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50300> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24977> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17468> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17474> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21772> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16476> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16534> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16532> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16535> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16542> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22840> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22629> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21017> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24853> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19375> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22465> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:23361> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26214> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26232> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26225> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25271> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24536> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17657> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17699> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19109> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42041> (advisory)
- <https://github.com/axios/axios> (package)

## Sources

- CVE List: [CVE-2026-42041](https://www.cve.org/CVERecord?id=CVE-2026-42041), CVE Terms of Use, modified 2026-09-10
- GitHub Advisory Database: [GHSA-w9j2-pvgh-6h63](https://github.com/advisories/GHSA-w9j2-pvgh-6h63), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42041](https://nvd.nist.gov/vuln/detail/CVE-2026-42041), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42041 · Whole record: https://cve.day/CVE-2026-42041.json · Rebuilt by cve.day 2026-11-25T22:59:19.563Z
