cve.bz

CVE-2026-42035 axios axios: HTTP Request Splitting

7.4 highExploit referenceEPSS 0.4%Fix available

High (7.4) in axios axios. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in axios 0.31.1, 1.15.1.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-04-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request Splitting)
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42035 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42035?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42035?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42035 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
axios:axiosbefore 0.31.1
axios:axiosfrom 1.0.0 before 1.15.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6chq-wfr3-2hj9npmaxios>=1.0.0 <1.15.11.15.1
GHSA-6chq-wfr3-2hj9npmaxios<0.31.10.31.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-axiosno fix listedDEBIAN-CVE-2026-42035
Debian14node-axios1.15.2-1DEBIAN-CVE-2026-42035
Ubuntu25.10, 26.10, Pro:20.04:LTS and 3 morenode-axiosno fix listedUBUNTU-CVE-2026-42035
Red Hatansible_automation_platform:2.6::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.7.13-2.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.10-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9python3.12-pyjwt, python3.12-pyjwt+crypto0:2.13.0-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9python3.12-pysequoia, python3.12-pysequoia-debuginfo, python3.12-pysequoia-debugsource0:0.1.34-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9, ansible_automation_platform_developer:2.6::el9python3.12-urllib30:2.7.0-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform_developer:2.6::el9automation-controller, automation-controller-cli0:4.7.13-2.el9apRHSA-2026:34160

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
HawtIO HawtIO 4.4.0axiosFixed 2026-06-10RHSA-2026:25089
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.10-1.el9apFixed 2026-07-01RHSA-2026:34160
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1781116645Fixed 2026-06-15RHSA-2026:26010
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1781116658Fixed 2026-06-15RHSA-2026:26010
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9:1781116387Fixed 2026-06-15RHSA-2026:26010
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-rhel9:1781116392Fixed 2026-06-15RHSA-2026:26010
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1781116667Fixed 2026-06-15RHSA-2026:26010
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1781116671Fixed 2026-06-15RHSA-2026:26010
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-rhel9:1781116422Fixed 2026-06-15RHSA-2026:26010
multicluster engine for Kubernetes 2.10multicluster-engine/console-mce-rhel9:1780917531Fixed 2026-06-08RHSA-2026:24536
Cryostat 4axiosNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-ui-rhel8Affected
Migration Toolkit for Applications 8mta/mta-ui-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-operator-bundleNot affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorNot affected
Red Hat 3scale API Management Platform 23scale-amp21/systemNot affected
Red Hat 3scale API Management Platform 23scale-amp22/systemNot affected
82 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42035.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium
  • CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies Likelihood: High · Severity: High
  • CAPEC-34 HTTP Response Splitting Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-105 HTTP Request Splitting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON