Paper/Archive/CVE-2025-62718

CVE-2025-62718

axios axios — Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
axios>= 1.0.0, < 1.15.0–CNA
axios< 0.31.0–CNA
Red Hat Ansible Automation Platform 2.5 for RHEL 8see advisory0:2.5.20260422-3.el8apredhat-SADP
Red Hat Ansible Automation Platform 2.5 for RHEL 9see advisory0:2.5.20260422-3.el9apredhat-SADP
Streams for Apache Kafka 3.2.0see advisory–redhat-SADP
Cluster Observability Operator 1.5.0see advisory1781116645redhat-SADP
Cluster Observability Operator 1.5.0see advisory1781116658redhat-SADP
Cluster Observability Operator 1.5.0see advisory1781116387redhat-SADP
Cluster Observability Operator 1.5.0see advisory1781116392redhat-SADP
Cluster Observability Operator 1.5.0see advisory1781116667redhat-SADP
multicluster engine for Kubernetes 2.6see advisory1778511348redhat-SADP
multicluster engine for Kubernetes 2.8see advisory1778383863redhat-SADP

Scores by source

NVD9.9CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
redhat-SADP (CNA)7.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
GitHub_M (CNA)6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

exploitgithub.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5refgithub.com/axios/axios/pull/10661refgithub.com/axios/axios/pull/10688refgithub.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9crefgithub.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24dfrefdatatracker.ietf.org/doc/html/rfc1034#section-3.1refdatatracker.ietf.org/doc/html/rfc3986#section-3.2.2refgithub.com/axios/axios/releases/tag/v0.31.0refgithub.com/axios/axios/releases/tag/v1.15.0refaccess.redhat.com/security/cve/CVE-2025-62718refbugzilla.redhat.com/show_bug.cgi?id=2456913refsecurity.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-62718.jsonadvisoryaccess.redhat.com/errata/RHSA-2026:24761advisoryaccess.redhat.com/errata/RHSA-2026:26010advisoryaccess.redhat.com/errata/RHSA-2026:16874advisoryaccess.redhat.com/errata/RHSA-2026:36882advisoryaccess.redhat.com/errata/RHSA-2026:20938advisoryaccess.redhat.com/errata/RHSA-2026:20889advisoryaccess.redhat.com/errata/RHSA-2026:24766advisoryaccess.redhat.com/errata/RHSA-2026:59155advisoryaccess.redhat.com/errata/RHSA-2026:24866advisoryaccess.redhat.com/errata/RHSA-2026:9742advisoryaccess.redhat.com/errata/RHSA-2026:13826advisoryaccess.redhat.com/errata/RHSA-2026:14937advisoryaccess.redhat.com/errata/RHSA-2026:41928advisoryaccess.redhat.com/errata/RHSA-2026:24977advisoryaccess.redhat.com/errata/RHSA-2026:19712advisoryaccess.redhat.com/errata/RHSA-2026:10175advisoryaccess.redhat.com/errata/RHSA-2026:8483advisoryaccess.redhat.com/errata/RHSA-2026:8484advisoryaccess.redhat.com/errata/RHSA-2026:8490advisoryaccess.redhat.com/errata/RHSA-2026:8491advisoryaccess.redhat.com/errata/RHSA-2026:8493advisoryaccess.redhat.com/errata/RHSA-2026:22840advisoryaccess.redhat.com/errata/RHSA-2026:22629advisoryaccess.redhat.com/errata/RHSA-2026:21017advisoryaccess.redhat.com/errata/RHSA-2026:24853advisoryaccess.redhat.com/errata/RHSA-2026:19375advisoryaccess.redhat.com/errata/RHSA-2026:22465advisoryaccess.redhat.com/errata/RHSA-2026:23361advisoryaccess.redhat.com/errata/RHSA-2026:24471advisoryaccess.redhat.com/errata/RHSA-2026:13571advisoryaccess.redhat.com/errata/RHSA-2026:17657advisoryaccess.redhat.com/errata/RHSA-2026:17699