All vulnerabilities

npm

CVE-2026-44494

axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`

Severity
High 8.7
Published
29 May 2026
Last changed
10 Sept 2026
Added to UpHeron
22 Oct 2026
Fixed in
1.16.0
Exploit chance
1.1% in the next 30 daysHigher than 65% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Prototype pollution (CWE-1321)CWE-441
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Also known as
GHSA-35jp-ww65-95wh
Sources
OSV.dev and GitHub

Description

The Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution in the application's dependency tree to be escalated into a full Man-in-the-Middle (MITM) attack — intercepting, reading, and modifying all HTTP traffic including authentication credentials.

The HTTP adapter at lib/adapters/http.js:670 reads config.proxy via standard property access, which traverses the prototype chain. Because proxy is not present in Axios defaults, the merged config object has no own proxy property, making it trivially injectable via prototype pollution. Once injected, setProxy() routes all HTTP requests through the attacker's proxy server.

Unlike the transformResponse gadget (which is constrained by assertOptions to return true), the proxy gadget has zero constraints — the attacker gets a full MITM position with the ability to read all credentials and tamper with all responses.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
axiosnpm · osv:npm:axios
  • From 1.0.0 before 1.16.0

About axios

Weekly downloads (npm)
143,624,637npm, 16 Nov 2026

References