Vulnerability
CVE-2026-67314
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.
126 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-2jmf-j8w9-w2wh
- CGA-2m65-qp48-phr7
- CGA-324h-7pm3-f8f2
- CGA-3fv6-44r2-7xcr
- CGA-4xj8-m5pg-2588
- CGA-7298-23wr-gjj3
- CGA-c5fq-78p4-fj6q
- CGA-cq7m-gp59-pqw9
- CGA-g8j7-r4qh-rvr7
- CGA-jmw3-jh79-87c7
- CGA-m34m-wr24-3xgv
- CGA-mh5g-84g4-67c7
- CGA-pg37-h5q4-f33v
- CGA-qmxv-8534-4v63
- CGA-rm9r-8739-273g
- CGA-rrx8-w4wq-pv5g
- CGA-vh7m-q286-3cxg
- CGA-vxq2-xq5j-4xcf
- CGA-wp28-7frv-6qr4
- CGA-wp5w-jrq2-6jm7
- CGA-x537-mvpg-jqhm
- CGA-x9v7-4jrg-7x87