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… (CVE-2026-67314)
Axios versions from 1.15.2 up to but not including 1.18.0 contain prototype-pollution read-side gadgets related to Basic authentication subfield handling. This occurs when an application is already compromised by a separate prototype-pollution vulnerability and makes an axios request with an auth object missing username and/or password properties. Axios then reads inherited Object.prototype.username and Object.prototype.password values to construct the Authorization header. Axios itself does not perform prototype pollution. The vulnerability can lead to outbound request tampering by injecting attacker-controlled Basic auth credentials or replacing existing Authorization headers. Credential disclosure requires 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.
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… (CVE-2026-67314)
Description
Axios versions from 1.15.2 up to but not including 1.18.0 contain prototype-pollution read-side gadgets related to Basic authentication subfield handling. This occurs when an application is already compromised by a separate prototype-pollution vulnerability and makes an axios request with an auth object missing username and/or password properties. Axios then reads inherited Object.prototype.username and Object.prototype.password values to construct the Authorization header. Axios itself does not perform prototype pollution. The vulnerability can lead to outbound request tampering by injecting attacker-controlled Basic auth credentials or replacing existing Authorization headers. Credential disclosure requires 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"]
- Ecosystems
- []
- 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: 08/02/2026, 00:53:07 UTC
Views: 4
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.