Skip to main content
← All vulnerabilities
CVE-2026-44494GHSA-35JP-WW65-95WH

Axios: Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`

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

Summary

Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.16.0, 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. This vulnerability is fixed in 1.16.0.

Timeline

  1. CISA SSVC assessment

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

  2. CVE published
  3. Record last updated

Affected versions

  • axios axios

    From 1.0.0 · fixed in 1.16.0

  • axiosnpm

    From 1.0.0 · fixed in 1.16.0

References 1

GitHub · axios/axios