{"id":"CVE-2026-67314","summary":"axios before 1.18.0 Prototype Pollution via auth subfields","details":"axios 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.","aliases":["GHSA-xj6q-8x83-jv6g"],"modified":"2026-08-03T03:30:36.218348295Z","published":"2026-08-01T12:22:16.603Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-1321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67314.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67314.json"},{"type":"ADVISORY","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":"ADVISORY","url":"https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-auth-subfields"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/axios/axios","events":[{"introduced":"582934382e4e0e0bcb679c628071a4203e93cf57"},{"fixed":"2d06f96e8602c2db13b65a26340ee4a1bbc0b61f"}],"database_specific":{"extracted_events":[{"introduced":"1.15.2"},{"fixed":"1.18.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.17.0","v1.16.1","v1.16.0","v1.15.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67314.json"}}],"schema_version":"1.7.5","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"}]}