Skip to main content
← All vulnerabilities
CVE-2026-101900GHSA-4HQW-QXG8-JXX2

Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders

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

Summary

Axios is a promise-based HTTP client for the browser and Node.js. From 1.12.0 until 1.20.0, ResolveConfig reads inherited Symbol.toStringTag, append, and getHeaders properties while resolving FormData headers. A separate same-process prototype-pollution flaw supplies an array or non-plain class instance whose inherited properties make it appear FormData-like; plain objects are blocked. The inherited getHeaders function can return attacker-controlled headers that resolveConfig merges into a fetch adapter request. Attacker-controlled headers can alter authorization, cache, metadata-service, or application-specific request behavior. This issue is fixed in version 1.20.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • axios axios

    From 1.12.0 · fixed in 1.20.0

  • axiosnpm

    From 1.12.0 · fixed in 1.20.0

References 4

GitHub · axios/axios