What’s Vulnerable › Vulnerabilities
CVE-2026-67316: axios before 1.18.0 Prototype Pollution via bodyless methods
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-08-01 · updated 2026-09-01
- Weakness: CWE-1321
Description
axios is vulnerable to read-side prototype-pollution gadgets that can alter request construction when Object.prototype has already been polluted by a separate vulnerability or dependency. In the bodyless method aliases (axios.get(), axios.delete(), axios.head(), axios.options()), inherited data is read via (config || {}).data before config normalization, causing an attacker-controlled body to be sent on requests that did not set one. Additional low-level paths, only reachable when calling exported adapters/helpers (e.g. lib/adapters/http.js, unsafe/helpers/resolveConfig.js) directly with plain configs and no own proxy or paramsSerializer, can inherit polluted proxy values (routing requests through an attacker-controlled proxy) or paramsSerializer values (attacker-controlled URL serialization). These low-level gadgets do not reproduce through normal high-level axios calls on 1.15.2+. The issue is fixed in axios 1.18.0 and 0.33.0.
Affected products
- axios: before 0.33.0; from 1.0.0 before 1.18.0 — fixed in 0.33.0, 1.18.0
- Npm Axios: from 1.0.0 before 1.18.0; before 0.33.0 — fixed in 1.18.0, 0.33.0
How to fix
Upgrade to a fixed version: axios 0.33.0, 1.18.0; Npm Axios 1.18.0, 0.33.0. Check the vendor advisory for mitigations.
References
- https://github.com/axios/axios/security/advisories/GHSA-mmx7-hfxf-jppx
- https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-bodyless-methods
- https://github.com/axios/axios/security/advisories/GHSA-mmx7-hfxf-jppx
Get alerted when CVE-2026-67316 or the next vulnerability affects your stack