CVE-2025-62718: Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
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.
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L · CWE-441, CWE-918
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
axios: axiosRed Hat: Cryostat 4Red Hat: Gatekeeper 3Red Hat: Migration Toolkit for Applications 8Red Hat: Multicluster Engine for KubernetesRed Hat: Network Observability OperatorRed Hat: OpenShift PipelinesRed Hat: Red Hat Advanced Cluster Management for Kubernetes 2Red Hat: Red Hat Ansible Automation Platform 2Red Hat: Red Hat Ansible Automation Platform 2.5 for RHEL 8Red Hat: Red Hat Ansible Automation Platform 2.5 for RHEL 9Red Hat: Red Hat build of Apache Camel - HawtIO 4Red Hat: Red Hat build of Apicurio Registry 3Red Hat: Red Hat Build of KueueRed Hat: Red Hat Data Grid 8Red Hat: Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat: Red Hat Fuse 7Red Hat: Red Hat OpenShift AI (RHOAI)Red Hat: Red Hat OpenShift Container Platform 4Red Hat: Red Hat OpenShift Virtualization 4Red Hat: Red Hat Process Automation 7Red Hat: Red Hat Quay 3Red Hat: Self-service automation portal 2Red Hat: streams for Apache Kafka 2Red Hat: Streams for Apache Kafka 3.2.0
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- datatracker.ietf.org/doc/html/rfc1034 (opens in new tab)
- datatracker.ietf.org/doc/html/rfc3986 (opens in new tab)
- github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c (opens in new tab)
- github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24df (opens in new tab)
- github.com/axios/axios/pull/10661 (opens in new tab)
- github.com/axios/axios/pull/10688 (opens in new tab)
- github.com/axios/axios/releases/tag/v0.31.0 (opens in new tab)
- github.com/axios/axios/releases/tag/v1.15.0 (opens in new tab)
- github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)