Description
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.
Affected products
axios: axios
References10
- github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 ExploitMitigationVendor Advisory
- github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 ExploitMitigationVendor Advisory
- github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b67784… Patch
- github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e… Patch
- github.com/axios/axios/pull/10661 Issue TrackingPatch
- datatracker.ietf.org/doc/html/rfc1034#section-3.1 Technical Description
- datatracker.ietf.org/doc/html/rfc3986#section-3.2.2 Technical Description
- github.com/axios/axios/pull/10688 Issue Tracking
- github.com/axios/axios/releases/tag/v0.31.0 Release Notes
- github.com/axios/axios/releases/tag/v1.15.0 ProductRelease Notes
Metrics
- CVSS 3.1
-
9.9
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L - CVSS 4.0
-
6.3
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 69 · as of 12 November 2026
- CWE
- CWE-441CWE-918CWE-1289
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.