Information disclosure in Axios
CVE-2026-67320
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).
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 44.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Axios — versions 0.31.1, 0.33.0, 1.15.2
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-gcfj-64vw-6mp9) (vendor-advisory, Exploit, Mitigation, Vendor Advisory)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: axios before 0.33.0 Prototype Pollution via Node HTTP adapter (Patch, Third Party Advisory, third-party-advisory)