Vulnerability · Published Aug 1, 2026 · Assigned by VulnCheck
CVE-2026-67314axios before 1.18.0 Prototype Pollution via auth subfields
Medium 6.3
In plain English
A medium-severity prototype pollution in axios from axios. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
axios versions >=1.15.2 and <1.18.0 contain prototype-pollution read-side gadgets in Basic auth subfield handling (lib/adapters/http.js and lib/helpers/resolveConfig.js). When an application is already affected by a separate prototype-pollution primitive and makes an axios request with an own auth object that omits the username and/or password properties, axios reads the inherited Object.prototype.username and Object.prototype.password values and uses them to construct an outbound 'Authorization: Basic ...' header. axios itself does not pollute prototypes. The practical impact is outbound request tampering: an attacker who controls the polluted prototype values can inject attacker-chosen Basic auth credentials or replace an existing Authorization header. Credential disclosure is only possible under additional application-specific conditions.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | node-axios | 1.18.0-1 | DEBIAN-CVE-2026-67314 |
| npm | axios | 1.18.0 | GHSA-xj6q-8x83-jv6g |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
References
- GitHub Security Advisory (GHSA-xj6q-8x83-jv6g) vendor-advisory
- VulnCheck Advisory: axios before 1.18.0 Prototype Pollution via auth subfields third-party-advisory