Description
Axios is a promise-based HTTP client for the browser and Node.js. From 1.15.2 until 1.20.0, the Node HTTP adapter in lib/adapters/http.js supplies request options without an own createConnection value. A separate same-process prototype-pollution flaw places a function on Object.prototype.createConnection. Node resolves and invokes the inherited createConnection socket factory, allowing the attacker-controlled function to select the transport endpoint. The attacker endpoint can receive request headers and bodies, including credentials, and return attacker-controlled responses while the URL appears legitimate. This issue is fixed in version 1.20.0.
Published: 2026-09-28
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Credential Theft via Request Hijacking
Action: Immediate Patch
AI Analysis

Impact

Axios allows a prototype‑pollution flaw that places a function on Object.prototype.createConnection. Node.js then resolves and invokes this inherited function as its socket factory for HTTP requests. The attacker can inject a custom function that selects an arbitrary transport endpoint, thereby receiving full request headers and bodies—including credentials—and returning attacker‑controlled responses while the target URL appears legitimate. This vulnerability is a form of request socket hijacking that can lead to credential theft and tampering of HTTP traffic.

Affected Systems

Axios versions 1.15.2 through 1.19.x are affected. The issue was resolved with the release of Axios 1.20.0. Existing deployments using any prior 1.x release without the fix are vulnerable.

Risk and Exploitability

The CVSS score of 7.6 indicates moderate to high severity. The EPSS score is <1%, indicating a very low but nonzero probability of exploitation, and the vulnerability is not listed in CISA KEV. The attack requires prototype pollution within the same process that uses Axios, meaning an attacker must have a way to execute code or influence the environment of that process. If the application accepts untrusted input that could modify Object.prototype, the risk increases substantially. While no known public exploits exist, the potential to siphon credentials or inject malicious responses warrants prompt action.

Generated by OpenCVE AI on September 29, 2026 at 18:10 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade axios to version 1.20.0 or later
  • Avoid allowing untrusted input to modify Object.prototype or inject arbitrary functions
  • Implement runtime safeguards such as strict mode and input validation to prevent prototype pollution attacks

Generated by OpenCVE AI on September 29, 2026 at 18:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-m8m8-qj5v-23w3 Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection
History

Thu, 01 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-941
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

threat_severity

Important


Mon, 28 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios

Mon, 28 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
Description Axios is a promise-based HTTP client for the browser and Node.js. From 1.15.2 until 1.20.0, the Node HTTP adapter in lib/adapters/http.js supplies request options without an own createConnection value. A separate same-process prototype-pollution flaw places a function on Object.prototype.createConnection. Node resolves and invokes the inherited createConnection socket factory, allowing the attacker-controlled function to select the transport endpoint. The attacker endpoint can receive request headers and bodies, including credentials, and return attacker-controlled responses while the URL appears legitimate. This issue is fixed in version 1.20.0.
Title Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection
Weaknesses CWE-1321
CWE-441
References
Metrics cvssV4_0

{'score': 7.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-01T14:42:48.243Z

Reserved: 2026-09-28T15:55:37.907Z

Link: CVE-2026-101905

cve-icon Vulnrichment

Updated: 2026-10-01T14:42:36.096Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-28T18:17:18.923

Modified: 2026-10-01T15:17:24.257

Link: CVE-2026-101905

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-28T17:31:00Z

Links: CVE-2026-101905 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-29T18:15:08Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-441

    Unintended Proxy or Intermediary ('Confused Deputy')

  • CWE-941

    Incorrectly Specified Destination in a Communication Channel