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

Published Aug 1, 2026
·
Updated

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.

Affected Software

1 affected component
npm/axios>=1.15.2<1.18.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade axios to a version that resolves this vulnerability.

    Fixed in 1.18.0
  2. Compensating control

    Ensure applications do not invoke axios with an auth object that omits the username and/or password properties when prototype-pollution conditions may be present (so axios cannot read inherited Object.prototype.username/Object.prototype.password to construct an outbound 'Authorization: Basic ...' header).

Event History

Aug 1, 2026
CVE Published
via MITRE·12:22 PM
Data Sourced
via MITRE·12:22 PM
DescriptionWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-67314?

CVE-2026-67314 has a medium severity rating of 6.3 on the CVSS scale.

2

How do I fix CVE-2026-67314?

To mitigate CVE-2026-67314, upgrade axios to version 1.18.0 or later.

3

What is the risk associated with CVE-2026-67314?

CVE-2026-67314 has a risk rating of 37, indicating potential security vulnerabilities related to prototype pollution.

4

Which versions of axios are affected by CVE-2026-67314?

CVE-2026-67314 affects axios versions greater than or equal to 1.15.2 and less than 1.18.0.

5

What type of vulnerability is CVE-2026-67314?

CVE-2026-67314 is a prototype pollution vulnerability found in the Basic auth subfield handling of axios.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203