Skip to main content
← All vulnerabilities
CVE-2026-101902GHSA-9FR6-4GFG-395G

Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Method

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

Summary

Axios is a promise-based HTTP client for the browser and Node.js. From 0.27.2 until 0.34.0 and 1.20.0, Axios default-instance requests that omit an explicit method can read an inherited method value from Object.prototype. If another vulnerability in the same process pollutes Object.prototype.method, calls such as axios.request({ url }) and axios({ url }) can send a state-changing HTTP method instead of the expected default GET. Axios does not create the prototype pollution source. This is a read-side gadget in axios request dispatch. This issue is fixed in version 0.34.0 and 1.20.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • axios axios

    From 1.0.0 · fixed in 1.20.0; From 0.27.2 · fixed in 0.34.0

  • axiosnpm

    From 0.27.2 · fixed in 0.34.0

  • axiosnpm

    From 1.0.0 · fixed in 1.20.0

References 5

GitHub · axios/axios