CVE-2026-42035 json
Axios: Header Injection via Prototype Pollution
published 2026-04-24 6 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-25589 , GHSA-6chq-wfr3-2hj9
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- 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, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the application's dependency tree is sufficient to trigger this gadget. This vulnerability is fixed in 1.15.1 and 0.31.1.
Patch / fix
- npm axios 0.31.1, 1.15.1
- axios axios 0.31.1, 1.15.1
- node-axios Debian 14 1.15.2-1
debian advisories DEBIAN-CVE-2026-42035
- python3.12-pyjwt ansible automation platform 2.6 2.13.0-1.el9ap
- python3.12-urllib3 ansible automation platform developer 2.6, ansible automation platform 2.6 2.7.0-1.el9ap
- python3.12-pysequoia ansible automation platform 2.6 0.1.34-1.el9ap
- automation-controller ansible automation platform developer 2.6, ansible automation platform 2.6 4.7.13-2.el9ap
- automation-platform-ui ansible automation platform 2.6 2.6.10-1.el9ap
- python3.12-pyjwt+crypto ansible automation platform 2.6 2.13.0-1.el9ap
- automation-controller-ui ansible automation platform 2.6 4.7.13-2.el9ap
- automation-controller-cli ansible automation platform developer 2.6, ansible automation platform 2.6 4.7.13-2.el9ap
red hat advisories RHSA-2026:34160
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-42035 updated cvss 7.4
axios: Axios: Arbitrary HTTP header injection via prototype pollution
-
Red Hat Migration Toolkit for Applications 8 mta/mta-ui-rhel8, mta/mta-ui-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9affected: workaround, no fix available
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 automation-hub, automation-controller, ansible-automation-platform/automation-dashboard-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 2 axiosaffected: workaround, no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 3 apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9affected: workaround, no fix available
-
Red Hat Build of Podman Desktop - Tech Preview rhdesktop/rh-podman-desktop-ext-openshift-local-rhel10 Red Hat Developer Hub 1 rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 moreaffected: workaround, 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-rhel9affected: workaround, no fix available
-
Red Hat Fuse 7 axiosaffected: workaround, no fix planned “Will not fix”
show 25 moreshow fewer
-
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 Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9 Red Hat Trusted Profile Analyzer rhtpa/rhtpa-trustification-service-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portalaffected: workaround, no fix available
-
Red Hat Cluster Observability Operator 1.5 cluster-observability-operator/monitoring-console-plugin-rhel9 1781116422, cluster-observability-operator/monitoring-console-plugin-pf5-rhel9 1781116667, cluster-observability-operator/monitoring-console-plugin-pf6-rhel9 1781116671, cluster-observability-operator/distributed-tracing-console-plugin-rhel9 1781116392, cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9 1781116645, cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9 1781116658, +1 morefixed: vendor fix RHSA-2026:26010
-
Red Hat HawtIO HawtIO 4.4.0fixed: vendor fix RHSA-2026:25089
-
Red Hat multicluster engine for Kubernetes 2.6 multicluster-engine 1778511348fixed: vendor fix RHSA-2026:17657
-
Red Hat multicluster engine for Kubernetes 2.8 multicluster-engine 1778383863fixed: vendor fix RHSA-2026:17699
-
Red Hat multicluster engine for Kubernetes 2.9 multicluster-engine 1778532610fixed: vendor fix RHSA-2026:19109
-
Red Hat multicluster engine for Kubernetes 2.10 multicluster-engine/console-mce-rhel9 1780917531fixed: vendor fix RHSA-2026:24536
-
Red Hat multicluster engine for Kubernetes 2.11 multicluster-engine/console-mce-rhel9 1780910888fixed: vendor fix RHSA-2026:25271
-
Red Hat Network Observability (NETOBSERV) 1.11.0 network-observability 1778508956, network-observability 1778510461fixed: vendor fix RHSA-2026:16874
-
Red Hat Advanced Cluster Management for Kubernetes 2.14 rhacm2/console-rhel9 1783451729fixed: vendor fix RHSA-2026:36882
-
Red Hat Advanced Cluster Management for Kubernetes 2.15 rhacm2/console-rhel9 1780876734fixed: vendor fix RHSA-2026:24539
-
Red Hat Advanced Cluster Management for Kubernetes 2.16 rhacm2/console-rhel9 1780600823fixed: vendor fix RHSA-2026:25273
-
Red Hat Advanced Cluster Security 4.9 advanced-cluster-security/rhacs-main-rhel8 1779371594fixed: vendor fix RHSA-2026:20938
-
Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 advanced-cluster-security 1779293013fixed: vendor fix RHSA-2026:20889
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-platform-ui 2.6.10-1.el9apfixed: vendor fix RHSA-2026:34160
-
Red Hat Ceph Storage 9.2 rhceph/rhceph-9-rhel10 1790843527fixed: vendor fix RHSA-2026:86618
-
Red Hat Developer Hub 1.8 rhdh/rhdh-hub-rhel9 1779841586fixed: vendor fix RHSA-2026:21338
-
Red Hat Developer Hub 1.9 rhdh/rhdh-hub-rhel9 1782761244fixed: vendor fix RHSA-2026:33574
-
Red Hat Discovery 2 discovery 1778156756fixed: vendor fix RHSA-2026:14937
-
Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 1780590717fixed: vendor fix RHSA-2026:25041
-
Red Hat OpenShift AI 2.25 rhoai/odh-dashboard-rhel9 1780467029, rhoai/odh-mod-arch-model-registry-rhel9 1780467147fixed: vendor fix RHSA-2026:24977
-
Red Hat OpenShift Container Platform 4.20 openshift4 1778645099fixed: vendor fix RHSA-2026:17468
-
Red Hat OpenShift Container Platform 4.21 openshift4 1778539338fixed: vendor fix RHSA-2026:17474
-
Red Hat OpenShift Dev Spaces 3.28 devspaces/code-rhel9 1779814592, devspaces/dashboard-rhel9 1779341289fixed: vendor fix RHSA-2026:21772
-
Red Hat OpenShift Service Mesh 2.6 openshift-service-mesh 1778191378, openshift-service-mesh 1778191473fixed: vendor fix RHSA-2026:16476
13 more fixed, 44 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
- total
- Assessed
- 6 mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/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
Classification
References
-
github.com
/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9
exploit, web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-42035
advisory
-
github.com
/axios/axios
package
Sources
- CVE List CVE-2026-42035
- GitHub Advisory GHSA-6chq-wfr3-2hj9
- NVD CVE-2026-42035
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.