CVE-2025-62718
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.
How to fix
- axios axios0.31.0, 1.15.0 or later
- axios1.15.0, 0.31.0 or later
- access.redhat.com/errata/RHSA-2026:24761
- access.redhat.com/errata/RHSA-2026:26010
- access.redhat.com/errata/RHSA-2026:16874
- access.redhat.com/errata/RHSA-2026:36882
- access.redhat.com/errata/RHSA-2026:20938
- access.redhat.com/errata/RHSA-2026:20889
- access.redhat.com/errata/RHSA-2026:24766
- access.redhat.com/errata/RHSA-2026:59155
- access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com/errata/RHSA-2026:9742
- access.redhat.com/errata/RHSA-2026:13826
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| axios axios | v < 0.31.0, 1.0.0 ≤ v < 1.15.0 | 0.31.0, 1.15.0 |
| axiosnpm | 1.0.0 ≤ v < 1.15.0, v < 0.31.0 | 1.15.0, 0.31.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.