Description
axios in a Node.js deployment using the HTTP adapter can route requests through an attacker-controlled proxy. axios hardens merged request configuration by creating a null-prototype object, but request interceptors run after the merge; a common immutable interceptor pattern such as {...config} or Object.assign({}, config) converts the hardened config back into a regular object. axios then dispatches that object without re-hardening it, and the Node HTTP adapter reads config.proxy through the prototype chain. If an attacker can pollute Object.prototype.proxy, affected requests can be routed through an attacker-controlled proxy. For plaintext HTTP requests, the proxy can observe Authorization headers, Basic auth from config.auth, method, absolute URL, Host, and request body, and can return its own response. This does not establish browser impact or HTTPS header/body disclosure under normal TLS validation. Affected versions are >=0.31.1 (fixed in 0.33.0) and >=1.15.2 (fixed in 1.18.0).
Published: 2026-08-01
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

axios merges request configurations by creating a null‑prototype object to harden against prototype pollution, but after the merge request interceptors run and re‑duplicate the config. This conversion restores Object.prototype during the interceptors, negating the hardening step and allowing an attacker to pollute Object.prototype.proxy. Once polluted, axios’s HTTP adapter reads config.proxy via the prototype chain, routing outgoing requests through the attacker‑controlled proxy. The proxy can inspect headers, Basic credentials, the HTTP method, full URL, Host header, and request body, and can return arbitrary responses. The flaw does not affect browsers or HTTPS header/body integrity under normal TLS validation, but it enables plaintext traffic capture and request manipulation.

Affected Systems

The issue impacts the axios library in Node.js deployments that use the HTTP adapter. Affected axios versions are those starting at 0.31.1 and older than 0.33.0, and starting at 1.15.2 and older than 1.18.0. Any application importing or requiring these axios versions is at risk if it performs HTTP requests through axios.

Risk and Exploitability

The CVSS score of 8.3 indicates high severity, but the EPSS score is < 1%, indicating a very low exploitation probability. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that an attacker who can influence Object.prototype or supply request configuration for axios can exploit this flaw to route requests through a malicious proxy, potentially harvesting credentials and other sensitive information. The attack requires ability to inject or modify JavaScript objects in the Node.js environment or to supply malicious request parameters that trigger a coincidental proxy polluter. While the issue does not directly lead to code execution, the data exposure and request diversion can have serious downstream consequences for application security.

Generated by OpenCVE AI on August 4, 2026 at 22:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade axios to the latest patched version (0.33.0 or later, or 1.18.0 or later).
  • If an upgrade is not immediately possible, remove or adjust request interceptors that duplicate configuration objects so that the hardened config remains intact.
  • Validate or sanitize the config proxy and other request options before passing to axios, and ensure that Object.prototype cannot be polluted by protecting it against modifications (e.g., by using a runtime security policy or linter).

Generated by OpenCVE AI on August 4, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-915
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Critical


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

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description axios in a Node.js deployment using the HTTP adapter can route requests through an attacker-controlled proxy. axios hardens merged request configuration by creating a null-prototype object, but request interceptors run after the merge; a common immutable interceptor pattern such as {...config} or Object.assign({}, config) converts the hardened config back into a regular object. axios then dispatches that object without re-hardening it, and the Node HTTP adapter reads config.proxy through the prototype chain. If an attacker can pollute Object.prototype.proxy, affected requests can be routed through an attacker-controlled proxy. For plaintext HTTP requests, the proxy can observe Authorization headers, Basic auth from config.auth, method, absolute URL, Host, and request body, and can return its own response. This does not establish browser impact or HTTPS header/body disclosure under normal TLS validation. Affected versions are >=0.31.1 (fixed in 0.33.0) and >=1.15.2 (fixed in 1.18.0).
Title axios before 0.33.0 Prototype Pollution via Node HTTP adapter
First Time appeared Axios
Axios axios
Weaknesses CWE-200
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Vendors & Products Axios
Axios axios
References
Metrics cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T15:38:04.392Z

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

Link: CVE-2026-67320

cve-icon Vulnrichment

Updated: 2026-08-03T14:46:52.846Z

cve-icon NVD

Status : Received

Published: 2026-08-01T13:17:02.217

Modified: 2026-08-03T17:16:41.227

Link: CVE-2026-67320

cve-icon Redhat

Severity : Critical

Publid Date: 2026-08-01T12:22:17Z

Links: CVE-2026-67320 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T23:00:15Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes