CVE-2026-42041
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
axiosnpm | >= 1.0.0, < 1.15.1 | 1.15.1 |
axiosnpm | < 0.31.1 | 0.31.1 |
Affected products
51- osv-coords50 versionspkg:apk/chainguard/awxpkg:apk/chainguard/jitsucom-jitsu-consolepkg:apk/chainguard/kibana-8.17pkg:apk/chainguard/kibana-8.17-bitnamipkg:apk/chainguard/kibana-8.17-iamguardedpkg:apk/chainguard/kibana-8.19pkg:apk/chainguard/kibana-8.19-bitnamipkg:apk/chainguard/kibana-8.19-iamguardedpkg:apk/chainguard/kibana-9.0pkg:apk/chainguard/kibana-9.0-bitnamipkg:apk/chainguard/kibana-9.0-iamguardedpkg:apk/chainguard/kibana-9.1pkg:apk/chainguard/kibana-9.1-iamguardedpkg:apk/chainguard/kibana-9.2-iamguardedpkg:apk/chainguard/kibana-9.3pkg:apk/chainguard/kibana-9.3-iamguardedpkg:apk/chainguard/kubeflow-centraldashboardpkg:apk/chainguard/langfuse-2pkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-3pkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-2pkg:apk/chainguard/langfuse-fips-2-workerpkg:apk/chainguard/langfuse-fips-3pkg:apk/chainguard/langfuse-fips-3.152-workerpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/chainguard/lernapkg:apk/chainguard/nextcloud-server-33pkg:apk/chainguard/opensearch-dashboards-2pkg:apk/chainguard/opensearch-dashboards-2-fipspkg:apk/chainguard/opensearch-dashboards-3pkg:apk/chainguard/opensearch-dashboards-3-fipspkg:apk/chainguard/prismpkg:apk/chainguard/redisinsightpkg:apk/chainguard/safpkg:apk/chainguard/wazuh-dashboardpkg:apk/chainguard/wazuh-dashboard-fipspkg:apk/chainguard/wazuh-dashboard-pluginspkg:apk/wolfi/jitsucom-jitsu-consolepkg:apk/wolfi/kubeflow-centraldashboardpkg:apk/wolfi/langfuse-3pkg:apk/wolfi/langfuse-3-workerpkg:apk/wolfi/lernapkg:apk/wolfi/nextcloud-server-33pkg:apk/wolfi/opensearch-dashboards-2pkg:apk/wolfi/opensearch-dashboards-3pkg:apk/wolfi/prismpkg:apk/wolfi/safpkg:npm/axiospkg:rpm/opensuse/agama-web-ui&distro=openSUSE%20Leap%2016.0
< 24.6.1-r42+ 49 more
- (no CPE)range: < 24.6.1-r42
- (no CPE)range: < 2.11.0-r22
- (no CPE)range: < 8.17.10-r21
- (no CPE)range: < 8.17.10-r21
- (no CPE)range: < 8.17.10-r21
- (no CPE)range: < 8.19.15-r0
- (no CPE)range: < 8.19.15-r0
- (no CPE)range: < 8.19.15-r0
- (no CPE)range: < 9.0.8-r24
- (no CPE)range: < 9.0.8-r24
- (no CPE)range: < 9.0.8-r24
- (no CPE)range: < 9.1.10-r16
- (no CPE)range: < 9.1.10-r16
- (no CPE)range: < 9.2.8-r0
- (no CPE)range: < 9.3.4-r4
- (no CPE)range: < 9.3.4-r4
- (no CPE)range: < 1.10.0-r21
- (no CPE)range: < 2.95.12-r23
- (no CPE)range: < 2.95.12-r23
- (no CPE)range: < 3.174.1-r0
- (no CPE)range: < 3.174.1-r0
- (no CPE)range: < 2.95.12-r25
- (no CPE)range: < 2.95.12-r25
- (no CPE)range: < 3.174.1-r0
- (no CPE)range: < 3.152.0-r1
- (no CPE)range: < 3.174.1-r0
- (no CPE)range: < 9.0.7-r4
- (no CPE)range: < 33.0.6-r0
- (no CPE)range: < 2.19.5-r10
- (no CPE)range: < 2.19.5-r10
- (no CPE)range: < 3.6.0-r3
- (no CPE)range: < 3.6.0-r5
- (no CPE)range: < 5.15.10-r0
- (no CPE)range: < 3.4.2-r1
- (no CPE)range: < 1.6.0-r0
- (no CPE)range: < 4.14.5-r5
- (no CPE)range: < 4.14.5-r5
- (no CPE)range: < 4.14.4-r3
- (no CPE)range: < 2.11.0-r22
- (no CPE)range: < 1.10.0-r21
- (no CPE)range: < 3.174.1-r0
- (no CPE)range: < 3.174.1-r0
- (no CPE)range: < 9.0.7-r4
- (no CPE)range: < 33.0.6-r0
- (no CPE)range: < 2.19.5-r10
- (no CPE)range: < 3.6.0-r3
- (no CPE)range: < 5.15.10-r0
- (no CPE)range: < 1.6.0-r0
- (no CPE)range: >= 1.0.0, < 1.15.1
- (no CPE)range: < 17+612.d8bf69336-160000.11.1
Patches
Vulnerability mechanics
References
3- github.com/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63nvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-w9j2-pvgh-6h63ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-42041ghsaADVISORY
News mentions
0No linked articles in our index yet.