Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-67319

axios before 0.33.0 Prototype Pollution via nested option objects

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

axios axios

Default version status: unaffected

  • 0.8.0 to < 0.33.0affected
  • 0.33.0unaffected
pkg:npm/axios

axios axios

Default version status: unaffected

  • 1.0.0 to < 1.18.0affected
  • 1.18.0unaffected
pkg:npm/axios

References