CVE-2026-67314

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductAxios
PublishedAug 1, 2026
First seenAug 1, 2026

How to fix

Update
  • axios axios1.18.0 or later
  • axios1.18.0 or later

Affected products

ProductAffected versionsFixed in
axios axios1.15.2 ≤ v < 1.18.01.18.0
axiosnpm1.15.2 ≤ v < 1.18.01.18.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.