Home

Description

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.

PUBLISHED Reserved 2026-05-06 | Published 2026-06-11 | Updated 2026-06-13 | Assigner GitHub_M




HIGH: 8.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Problem types

CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Product status

>= 1.0.0, < 1.16.0
affected

References

github.com/.../axios/security/advisories/GHSA-35jp-ww65-95wh exploit

github.com/.../axios/security/advisories/GHSA-35jp-ww65-95wh

cve.org (CVE-2026-44494)

nvd.nist.gov (CVE-2026-44494)

Download JSON