CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2025-62718

Critical · CVSS 9.9

Axios — NO_PROXY bypass via hostname normalization leading to SSRF and proxy bypass

CVSS
9.9
nvd
EPSS
1.16%
64th pct
KEV
No
Class
oss containerizable
CWE-441, CWE-918, CWE-1289

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.

Search profile — drives PoC discovery

Symbols NO_PROXYisURLSameOriginshouldProxylocalhost.[::1]loopbacknormalizeHostnamebuildFullPathbuildURLisProxyEnabledshouldBeProxyis NO_PROXYmatchesProxy
Keywords CVE-2025-62718Axios NO_PROXY bypassAxios SSRFAxios proxy bypass loopbackAxios trailing dot hostnameAxios IPv6 NO_PROXYaxios 1.15.0axios 0.31.0NO_PROXY hostname normalizationAxios SSRF loopback
Versions: < 1.15.0 and < 0.31.0

Affected packages

npm axios 0 → 0.31.0
npm axios 1.0.0 → 1.15.0

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-06-30T18:30:14.000Z