Duplicate Advisory: Axios: Prototype pollution auth subfields can inject Basic auth
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-xj6q-8x83-jv6g. This link is maintained to preserve external references. ## Original 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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-67314) affects axios versions >=1.15.2 and <1.18.0. It involves prototype-pollution read-side gadgets in the Basic auth subfield handling within lib/adapters/http.js and lib/helpers/resolveConfig.js. When an application is already affected by a separate prototype-pollution primitive, axios reads inherited prototype properties for username and password if these are omitted in the auth object, using them to build the Authorization header. Axios does not itself pollute prototypes, but this behavior allows an attacker controlling the polluted prototype to tamper with outbound requests by injecting or replacing Basic auth credentials. The impact is limited to outbound request tampering; credential disclosure is only possible under additional, application-specific conditions.
Potential Impact
The vulnerability enables an attacker who controls polluted prototype properties to tamper with outbound HTTP requests made by axios by injecting attacker-chosen Basic authentication credentials or replacing existing Authorization headers. This can lead to unauthorized request manipulation. However, axios itself does not perform prototype pollution, and credential disclosure requires further conditions specific to the affected application. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or official fixes are provided, users should monitor axios releases for a fix addressing this issue. In the meantime, avoid using vulnerable axios versions or ensure that applications are not susceptible to prototype pollution primitives that could be leveraged in conjunction with this vulnerability.
Duplicate Advisory: Axios: Prototype pollution auth subfields can inject Basic auth
Description
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-xj6q-8x83-jv6g. This link is maintained to preserve external references. ## Original 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.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-67314) affects axios versions >=1.15.2 and <1.18.0. It involves prototype-pollution read-side gadgets in the Basic auth subfield handling within lib/adapters/http.js and lib/helpers/resolveConfig.js. When an application is already affected by a separate prototype-pollution primitive, axios reads inherited prototype properties for username and password if these are omitted in the auth object, using them to build the Authorization header. Axios does not itself pollute prototypes, but this behavior allows an attacker controlling the polluted prototype to tamper with outbound requests by injecting or replacing Basic auth credentials. The impact is limited to outbound request tampering; credential disclosure is only possible under additional, application-specific conditions.
Potential Impact
The vulnerability enables an attacker who controls polluted prototype properties to tamper with outbound HTTP requests made by axios by injecting attacker-chosen Basic authentication credentials or replacing existing Authorization headers. This can lead to unauthorized request manipulation. However, axios itself does not perform prototype pollution, and credential disclosure requires further conditions specific to the affected application. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or official fixes are provided, users should monitor axios releases for a fix addressing this issue. In the meantime, avoid using vulnerable axios versions or ensure that applications are not susceptible to prototype pollution primitives that could be leveraged in conjunction with this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-38gx-cfqf-f652
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-67314"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a6e6296bf32cb7a344f69e6
Added to database: 08/01/2026, 21:18:14 UTC
Last enriched: 08/01/2026, 21:22:45 UTC
Last updated: 09/15/2026, 22:56:29 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.