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.
Published: 2026-08-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Axios versions before 0.33.0 (and Axios 1.x before 1.18.0) merge nested request options without own-property checks. When Object.prototype has been polluted by another component, inherited properties such as username, password, or custom serialization functions are read as real values. This can silently insert a Basic Authorization header or alter query‑string serialization, allowing an attacker who has already polluted the prototype to inject unauthorized credentials or change request semantics. The flaw is a prototype‑polution weakness (CWE‑1321).

Affected Systems

Any Node.js application that imports an Axios release older than 0.33.0 or 1.x older than 1.18.0 is affected. The issue is triggered through the Axios HTTP client in environments where other dependencies have previously polluted Object.prototype. Applications using these Axios versions on any platform running Node.js are susceptible.

Risk and Exploitability

The CVSS score is 6.3, indicating medium severity. Because the vulnerability only occurs when another component has already polluted Object.prototype, the likelihood of exploitation is restricted to environments combining Axios with vulnerable libraries. The flaw is not listed in the CISA KEV catalog, and no EPSS value is available. Attackers would need to establish prototype pollution in the same process before this behavior can be triggered.

Generated by OpenCVE AI on August 2, 2026 at 03:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axios to version 0.33.0 or newer, or to 1.18.0 or newer if using the 1.x series.
  • Review and update any other dependencies that may perform prototype pollution; ensure all libraries are patched or removed.
  • If an upgrade cannot occur immediately, clone nested Axios configuration objects (e.g., using Object.assign({}, obj)) or explicitly delete inherited properties before passing the config to Axios.

Generated by OpenCVE AI on August 2, 2026 at 03:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 01 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title axios before 0.33.0 Prototype Pollution via nested option objects
First Time appeared Axios
Axios axios
Weaknesses CWE-1321
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Vendors & Products Axios
Axios axios
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T18:26:40.355Z

Reserved: 2026-07-29T13:07:21.183Z

Link: CVE-2026-67319

cve-icon Vulnrichment

Updated: 2026-08-03T18:26:35.658Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T03:15:03Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')