CVE-2025-62718
Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
Check your servers for CVE-2025-62718
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-62718 affects axios, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality low, integrity low, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality low, integrity low, availability none: what an attacker can read, change or stop beyond it
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 9 Apr 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-441 Unintended Proxy or Intermediary
- CWE-918 Server-Side Request Forgery
- CWE-1289 Improper Validation of Unsafe Equivalence in Input
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of axios and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i axios
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-62718 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-62718RHEL, Rocky, Alma, Fedora
rpm -q axios
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-62718Alpine
apk list --installed | grep -i axiosWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-62718
trivy image --scanners vuln IMAGE | grep CVE-2025-62718
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2025-62718 access.redhat.com · vdb entry
- RHBZ#2456913 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:24761 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:26010 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:16874 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:36882 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:20938 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:20889 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:24766 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:59155 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:24866 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9742 access.redhat.com · vendor advisory
22 more
- https://access.redhat.com/errata/RHSA-2026:13826 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:14937 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41928 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:24977 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19712 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10175 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8483 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8484 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8490 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8491 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8493 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:22840 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:22629 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:21017 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:24853 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19375 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:22465 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:23361 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:24471 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:13571 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:17657 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:17699 access.redhat.com · vendor advisory
Exploits and proof of concept
- https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5 github.com · exploit
Other references
- https://github.com/axios/axios/pull/10661 github.com
- https://github.com/axios/axios/pull/10688 github.com
- https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c github.com
- https://github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24df github.com
- https://datatracker.ietf.org/doc/html/rfc1034#section-3.1 datatracker.ietf.org
- https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2 datatracker.ietf.org
- https://github.com/axios/axios/releases/tag/v0.31.0 github.com
- https://github.com/axios/axios/releases/tag/v1.15.0 github.com
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-62718.json security.access.redhat.com
Source: the record CVE-2025-62718 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse