CVE-2026-67319: axios before 0.33.0 Prototype Pollution via nested option objects
axios before 0.33.0 (and 1.x before 1.18.0) can consume inherited properties from nested request option objects when the JavaScript process's Object.prototype has already been polluted by another component. While the top-level merged config uses a null prototype, nested plain objects such as auth and paramsSerializer are cloned into ordinary objects and read without own-property checks. When an application passes placeholder nested objects such as auth: {} or paramsSerializer: {}, inherited username/password values can cause silent injection of an Authorization: Basic header, and inherited encode/serialize values can alter query-string serialization (full serializer replacement requires a function-valued pollution primitive). This is exploitable only in the presence of pre-existing prototype pollution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
axiosto a version that resolves this vulnerability.Fixed in 0.33.0 - Upgrade
Upgrade
axiosto a version that resolves this vulnerability.Fixed in 1.18.0 - Compensating control
Ensure the JavaScript process's Object.prototype is not polluted by other components before using axios (e.g., prevent or remediate any prototype-pollution vulnerability in components that run in the same process).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-67319?
CVE-2026-67319 has a risk rating of 34 indicating a moderate level of impact.
How do I fix CVE-2026-67319?
To fix CVE-2026-67319, upgrade axios to version 0.33.0 or later, or version 1.18.0 or later.
What types of systems are affected by CVE-2026-67319?
CVE-2026-67319 affects any systems using axios versions before 0.33.0 or 1.x before 1.18.0.
What is prototype pollution in the context of CVE-2026-67319?
In CVE-2026-67319, prototype pollution occurs when an attacker can inject properties into the Object.prototype, potentially affecting object behavior.
Is there a workaround for CVE-2026-67319 if I cannot upgrade axios?
If you cannot upgrade axios, you can mitigate CVE-2026-67319 by avoiding nested option objects with inherited properties.