{"id":"GHSA-38gx-cfqf-f652","revision":"5e098c89abce4841b669652d121766bf","records":[{"revision":"5e098c89abce4841b669652d121766bf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-38gx-cfqf-f652","aliases":[],"title":"Duplicate Advisory: Axios: Prototype pollution auth subfields can inject Basic auth","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-xj6q-8x83-jv6g. This link is maintained to preserve external references.\n\n## Original Description\naxios 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.","state":2,"publishedAt":"2026-08-01T15:30:27+00:00","modifiedAt":"2026-09-10T03:51:12.812762+00:00","affected":[{"ecosystem":"npm","name":"axios","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.15.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g","https://nvd.nist.gov/vuln/detail/CVE-2026-67314","https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-auth-subfields"],"sourceUrl":"https://github.com/advisories/GHSA-38gx-cfqf-f652","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-38gx-cfqf-f652","identifiers":["GHSA-38gx-cfqf-f652"]},"retained":false,"historicalAffected":[]}],"coverage":[]}