CVE-2025-62718

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trailing dot) or [::1] (IPv6 literal) skip NO_PROXY matching and go through the configured proxy. This goes against what developers expect and lets attackers force requests through a proxy, even if NO_PROXY is set up to protect loopback or internal services. This issue leads to the possibility of proxy bypass and SSRF vulnerabilities allowing attackers to reach sensitive loopback or internal services despite the configured protections. This vulnerability is fixed in 1.15.0 and 0.31.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*

History

14 Apr 2026, 20:14

Type Values Removed Values Added
References () https://datatracker.ietf.org/doc/html/rfc1034#section-3.1 - () https://datatracker.ietf.org/doc/html/rfc1034#section-3.1 - Technical Description
References () https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2 - () https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2 - Technical Description
References () https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c - () https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c - Patch
References () https://github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24df - () https://github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24df - Patch
References () https://github.com/axios/axios/pull/10661 - () https://github.com/axios/axios/pull/10661 - Issue Tracking, Patch
References () https://github.com/axios/axios/pull/10688 - () https://github.com/axios/axios/pull/10688 - Issue Tracking
References () https://github.com/axios/axios/releases/tag/v0.31.0 - () https://github.com/axios/axios/releases/tag/v0.31.0 - Release Notes
References () https://github.com/axios/axios/releases/tag/v1.15.0 - () https://github.com/axios/axios/releases/tag/v1.15.0 - Product, Release Notes
References () https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 - () https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 - Exploit, Mitigation, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.9
First Time Axios axios
Axios
CPE cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*

14 Apr 2026, 17:16

Type Values Removed Values Added
References
  • () https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c -
  • () https://github.com/axios/axios/pull/10688 -
  • () https://github.com/axios/axios/releases/tag/v0.31.0 -
Summary (en) Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trailing dot) or [::1] (IPv6 literal) skip NO_PROXY matching and go through the configured proxy. This goes against what developers expect and lets attackers force requests through a proxy, even if NO_PROXY is set up to protect loopback or internal services. This issue leads to the possibility of proxy bypass and SSRF vulnerabilities allowing attackers to reach sensitive loopback or internal services despite the configured protections. This vulnerability is fixed in 1.15.0. (en) Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trailing dot) or [::1] (IPv6 literal) skip NO_PROXY matching and go through the configured proxy. This goes against what developers expect and lets attackers force requests through a proxy, even if NO_PROXY is set up to protect loopback or internal services. This issue leads to the possibility of proxy bypass and SSRF vulnerabilities allowing attackers to reach sensitive loopback or internal services despite the configured protections. This vulnerability is fixed in 1.15.0 and 0.31.0.

09 Apr 2026, 17:16

Type Values Removed Values Added
References () https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 - () https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 -

09 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-09 15:16

Updated : 2026-04-16 19:16


NVD link : CVE-2025-62718

Mitre link : CVE-2025-62718

CVE.ORG link : CVE-2025-62718


JSON object : View

Products Affected

axios

  • axios
CWE
CWE-441

Unintended Proxy or Intermediary ('Confused Deputy')

CWE-918

Server-Side Request Forgery (SSRF)