CVE-2026-67314

MEDIUM

axios before 1.18.0 Prototype Pollution via auth subfields

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-xj6q-8x83-jv6g)
https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g
Third Party Advisory third-party-advisory
VulnCheck Advisory: axios before 1.18.0 Prototype Pollution via auth subfields
https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-auth-subfields

Scores

CVSS v4 6.3
EPSS 0.0037
EPSS Percentile 29.4%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-1321
Status published
Products (3)
axios/axios 1.15.2 - 1.18.0
axios/axios 1.18.0
npm/axios 1.15.2 - 1.18.0npm
Published Aug 01, 2026
Tracked Since Aug 01, 2026