npm
CVE-2026-67316
Axios: Prototype pollution gadgets can alter axios request construction
- Severity
- Medium
- Published
- 20 Jul 2026
- Last changed
- 10 Sept 2026
- Added to UpHeron
- 22 Oct 2026
- Fixed in
- 0.33.0, 1.18.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Prototype pollution (CWE-1321)
- Also known as
- GHSA-mmx7-hfxf-jppx
- Sources
- OSV.dev and GitHub
Description
axios is vulnerable to read-side prototype-pollution gadgets when Object.prototype has already been polluted by another vulnerability or dependency. The most broadly reachable issue is in the bodyless method aliases: axios.get(), axios.delete(), axios.head(), and axios.options() read inherited data before config normalization, causing attacker-controlled body data to be sent on requests that did not explicitly set a body.
Additional low-level paths affect consumers that call exported adapters/helpers directly with plain config objects. In those cases, inherited proxy or paramsSerializer values can influence request routing or URL serialization. These low-level paths are not reproduced through normal axios.get() usage on 1.15.2+.
An attacker who can first pollute Object.prototype can cause axios to send attacker-controlled request bodies on bodyless method aliases. This can corrupt request semantics where the receiving service processes bodies on GET, DELETE, HEAD, or OPTIONS.
Workarounds
Avoid processing untrusted input with libraries or code paths that can pollute Object.prototype. As a defense-in-depth mitigation before an axios fix is available, explicitly pass data: undefined on bodyless method aliases when running in a process where prototype pollution is a concern.
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-101900Axios: Fetch Adapter Header Injection via Inherited FormData getHeadersMedium 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
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-67316
- GitHub Advisory Database https://github.com/advisories/GHSA-mmx7-hfxf-jppx