Skip to main content
EPSS 0.4%top 71%

Duplicate Advisory: Axios: Prototype pollution auth subfields can inject Basic auth

0
Medium
Published: 08/01/2026 (08/01/2026, 15:30:27 UTC)
Source: GCVE Database
Product: axios

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected software

axios
pkg:npm/axios
Affected versions
>=1.15.2 <1.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 21:22:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses