Skip to main content
← All vulnerabilities
CVE-2026-101905GHSA-M8M8-QJ5V-23W3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • axios axios

    From 1.15.2 · fixed in 1.20.0

  • axiosnpm

    From 1.15.2 · fixed in 1.20.0

References 4

GitHub · axios/axios