CVE-2026-67314 Details
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.
A prototype pollution vulnerability has been identified in Axios versions 1.15.2 prior to 1.18.0. This issue arises from how Axios handles Basic authentication subfields, specifically in the Node HTTP adapter and the shared resolver for browsers, web workers, and React Native. When an application affected by a separate prototype pollution vulnerability makes an Axios request with an authentication object that lacks username or password properties, Axios inadvertently reads these values from the polluted prototype. This behavior allows an attacker to manipulate the 'Authorization: Basic ...' header, potentially injecting custom credentials or replacing existing ones. While Axios does not itself pollute prototypes, the vulnerability could lead to unauthorized request tampering. Credential disclosure could occur under certain application-specific conditions.
To address this vulnerability, avoid passing empty or partial authentication objects in Axios requests. Ensure that the authentication object contains valid username and password values. Additionally, applications that merge untrusted input should filter out prototype-related properties and use own-property checks when reading optional user options.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g | [email protected] | ExploitMitigationVendor Advisory |
| https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-auth-subfields | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | >= 1.15.2, < 1.18.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 1, 2026 | Initial Analysis | [email protected] |
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2026 | New CVE Received | [email protected] |