npm
CVE-2026-101900
Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders
- Severity
- Medium
- Published
- 30 Sept 2026
- Last changed
- 30 Sept 2026
- Added to UpHeron
- 22 Oct 2026
- Fixed in
- 1.20.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 19 Nov 2026
- Also known as
- GHSA-4hqw-qxg8-jxx2
- Sources
- OSV.dev and GitHub
Description
Axios contains a guard in the Node HTTP adapter to avoid using an inherited Object.prototype.getHeaders as a FormData header source. The fetch adapter calls the shared resolveConfig() helper before dispatch, and that helper lacks the same guard. If another vulnerability pollutes Object.prototype with FormData-like properties and getHeaders(), the fetch adapter can merge attacker-controlled headers into the outbound request.
Axios does not create the prototype pollution source. This is a read-side gadget in the fetch adapter configuration path.
An attacker with a prior same-process prototype-pollution primitive can inject headers into fetch-adapter requests. Depending on the target service, this may affect authorization, metadata-service access, cache behavior, conditional request handling, or other application-specific header logic.
Workarounds
Use the Node HTTP adapter for server-side requests that may run in a polluted process. Avoid passing array or class-instance bodies through the fetch adapter when prototype pollution is suspected.
Original report
Affected software
| Software | Affected versions |
|---|---|
axiosnpm · osv:npm:axios |
|
About axios
- Weekly downloads (npm)
- 143,624,637npm, 16 Nov 2026
Vulnerabilities in axios
- In our list
- 35
- Published in the last 12 months
- 35
- Critical, last 12 months
- 0
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-101904Axios: Header Injection via Inherited headers After Minimal InterceptorMedium 30 Sept 2026
- CVE-2026-101908Axios: Prototype pollution gadget in fetch adapter can alter outbound requestsMedium 30 Sept 2026
- CVE-2026-101902Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP MethodMedium 30 Sept 2026
- CVE-2026-101898Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlsHigh 30 Sept 2026
- CVE-2026-101901Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session InitializationHigh 30 Sept 2026
- CVE-2026-67319Axios: Nested axios option objects can consume polluted prototype valuesMedium 20 Jul 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-101900
- GitHub Advisory Database https://github.com/advisories/GHSA-4hqw-qxg8-jxx2