CVE-2026-101905

Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection

Published Sep 28, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

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

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios
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'}

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 1, 2026, 2:42 PM
Reserved
Sep 28, 2026, 3:55 PM
Status
Awaiting Analysis
Published
Sep 28, 2026, 6:17 PM
Modified
Oct 1, 2026, 3:17 PM
Severity
Important
Public date
Sep 28, 2026, 5:31 PM