Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. axios
  4. ›
  5. GHSA-gcfj-64vw-6mp9

GHSA-gcfj-64vw-6mp9: Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning

July 20, 2026 (updated September 1, 2026)

Axios’ Node.js HTTP adapter can route requests through an attacker-controlled proxy when Object.prototype.proxy is polluted and request configuration is materialized as a regular object before dispatch.

Recent axios releases harden merged request config by creating a null-prototype object. However, request interceptors run after that merge and may return a replacement config. A common immutable interceptor pattern such as {...config} or Object.assign({}, config) converts the hardened config back into a normal object. Axios then dispatches that object without re-hardening it, and the Node HTTP adapter reads config.proxy through the prototype chain.

Axios hardens merged request config by creating a null-prototype object, preventing polluted Object.prototype properties from influencing request behavior. Request interceptors run after that hardening, and a normal immutable interceptor pattern such as {…config} or Object.assign({}, config) re-materializes the config as a regular object. Axios then dispatches that interceptor-returned object without re-hardening it. In the Node HTTP adapter, config.proxy is read through the prototype chain, allowing a polluted Object.prototype.proxy to route authenticated HTTP requests through an attacker-controlled proxy.

References

  • github.com/advisories/GHSA-gcfj-64vw-6mp9
  • github.com/axios/axios/commit/1417285c69344bbcc6420a021f67dee0c6fedb2d
  • github.com/axios/axios/commit/32fc489632377d214db55bfa4e2c48486a7d7ce2
  • github.com/axios/axios/pull/11000
  • github.com/axios/axios/pull/11001
  • github.com/axios/axios/releases/tag/v0.33.0
  • github.com/axios/axios/releases/tag/v1.18.0
  • github.com/axios/axios/security/advisories/GHSA-gcfj-64vw-6mp9
  • nvd.nist.gov/vuln/detail/CVE-2026-67320
  • nvd.nist.gov/vuln/detail/CVE-2026-69124
  • www.vulncheck.com/advisories/axios-before-prototype-pollution-via-node-http-adapter

Code Behaviors & Features

Detect and mitigate GHSA-gcfj-64vw-6mp9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.31.1 before 0.33.0, all versions starting from 1.15.2 before 1.18.0

Fixed versions

  • 0.33.0
  • 1.18.0

Solution

Upgrade to versions 0.33.0, 1.18.0 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/axios/GHSA-gcfj-64vw-6mp9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:33 +0000.