CVE-2026-67319
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| axios | axios | 0.8.0 < 0.33.0 | affected |
| axios | axios | 0.33.0 | unaffected |
| axios | axios | 1.0.0 < 1.18.0 | affected |
| axios | axios | 1.18.0 | unaffected |
Weaknesses
- CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://github.com/axios/axios/security/advisories/GHSA-7q8q-rj6j-mhjq
- https://www.vulncheck.com/advisories/axios-before-prototype-pollution-via-nested-option-objects
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.