Skip to main content
← All vulnerabilities
CVE-2025-62718GHSA-3P68-RC4W-QGX5

Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.15.0, 0.31.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • axios axios

    From 1.0.0 · fixed in 1.15.0; fixed in 0.31.0

  • axiosnpm

    From 1.0.0 · fixed in 1.15.0

  • axiosnpm

    fixed in 0.31.0

References 9

GitHub · axios/axios

datatracker.ietf.org