{"id":"GHSA-38gx-cfqf-f652","summary":"Duplicate Advisory: Axios: Prototype pollution auth subfields can inject Basic auth","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-xj6q-8x83-jv6g. This link is maintained to preserve external references.\n\n## Original Description\naxios versions \u003e=1.15.2 and \u003c1.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.","modified":"2026-08-07T18:00:14.897199461Z","published":"2026-08-01T15:30:27Z","withdrawn":"2026-08-07T17:51:06Z","database_specific":{"cwe_ids":["CWE-1321"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-08-07T17:51:06Z","nvd_published_at":"2026-08-01T13:17:01Z"},"references":[{"type":"WEB","url":"https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67314"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-auth-subfields"}],"affected":[{"package":{"name":"axios","ecosystem":"npm","purl":"pkg:npm/axios"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.15.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 1.18.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-38gx-cfqf-f652/GHSA-38gx-cfqf-f652.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}