CVE-2025-62718

Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF

State
Published
Severity
6.3 Medium
Published
Apr 9, 2026
Updated
Sep 10, 2026
Reserved
Oct 20, 2025

Read the record on cve.org

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

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NGitHub_M
3.17.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:Lredhat-SADP

Weaknesses

  • CWE-441 Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-918 Server-Side Request Forgery (SSRF)
  • CWE-1289 Improper Validation of Unsafe Equivalence in Input

Affected Products

ProductVersions
axiosaxios
  • >= 1.0.0, < 1.15.0Affected
  • < 0.31.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.