CVE-2025-62718

CRITICAL

Axios has a NO_PROXY Hostname Normalization Bypass Leads to SSRF

Title source: cna

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.

Scores

CVSS v3 9.9
EPSS 0.0003
EPSS Percentile 10.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L

Details

CWE
CWE-441 CWE-918
Status published
Products (4)
axios/axios < 1.15.0 (2 CPE variants)
axios/axios < 0.31.0
axios/axios >= 1.0.0, < 1.15.0
npm/axios 0 - 1.15.0npm
Published Apr 09, 2026
Tracked Since Apr 09, 2026