CVE Catalog

CVE-2025-62718

CriticalCVSS 9.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.19%

64th percentile - higher than 64% of all known CVEs

Summary

A vulnerability in Axios before versions 1.15.0 and 0.31.0 incorrectly handles 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.

Risk Assessment

The risk is that attackers can force traffic through a proxy even if NO_PROXY is set to protect loopback or internal services. This can lead to proxy bypass and SSRF vulnerabilities, allowing attackers to reach sensitive internal services.

Recommendation

Immediately update Axios to version 1.15.0 or 0.31.0, which contain the fix. If an update is not possible, manually validate and normalize hostnames before applying NO_PROXY rules.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS