Vulnerability · Published Sep 28, 2026 · Assigned by GitHub_M
CVE-2026-101905Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection
High 7.6
In plain English
A high-severity prototype pollution in axios from axios. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-axios | no fix listed | DEBIAN-CVE-2026-101905 |
| Debian:13 | node-axios | no fix listed | DEBIAN-CVE-2026-101905 |
| Debian:14 | node-axios | 1.20.0-1 | DEBIAN-CVE-2026-101905 |
| Ubuntu:26.10 | node-axios | no fix listed | UBUNTU-CVE-2026-101905 |
| npm | axios | 1.20.0 | GHSA-m8m8-qj5v-23w3 |
Affected products (as reported)
Weakness: CWE-441, CWE-1321 · 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
References
- https://github.com/axios/axios/security/advisories/GHSA-m8m8-qj5v-23w3 x_refsource_CONFIRM
- https://github.com/axios/axios/pull/11141 x_refsource_MISC
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a x_refsource_MISC
- https://github.com/axios/axios/releases/tag/v1.20.0 x_refsource_MISC