CVE-2025-62718
CVE-2025-62718 · Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
CVSS 6.3 · Medium · EPSS 1.2% · Fix available
- Published
- Updated
Affected products and versions
axios
- Versions
- >= 1.0.0, < 1.15.0: Affected
- < 0.31.0: Affected
No fix published
node-axios Debian:12
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.15.0-1
- 1.15.2-1
- 1.16.0-1
- 1.18.0-1
- 1.19.0-1
- 1.2.1+dfsg-1
- 1.2.1+dfsg-1+deb12u1
- 1.20.0-1
- 1.5.1+dfsg-1
- 1.6.2+dfsg-1
- 1.6.8+dfsg-1
- 1.6.8+dfsg-2
- 1.7.3+dfsg-1
- 1.7.4+dfsg-1
- 1.7.7+dfsg-1
- 1.7.9+dfsg-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Debian:13
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.15.0-1
- 1.15.2-1
- 1.16.0-1
- 1.18.0-1
- 1.19.0-1
- 1.20.0-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Debian:14
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: < 1.15.0-1
Update to 1.15.0-1
axios npm
- Affected ranges
- SEMVER: ≥ 1.0.0, < 1.15.0
Update to 1.15.0
axios npm
- Affected ranges
- SEMVER: < 0.31.0
Update to 0.31.0
node-axios Ubuntu:Pro:20.04:LTS
- Versions
- 0.19.0+dfsg-2
- Affected ranges
- ECOSYSTEM: < 0.19.0+dfsg-2ubuntu0.1~esm1
Update to 0.19.0+dfsg-2ubuntu0.1~esm1
node-axios Ubuntu:Pro:22.04:LTS
- Versions
- 0.21.1+dfsg-1
- 0.23.0+dfsg-2
- 0.24.0+dfsg-1
- 0.25.0+dfsg-2
- 0.26.0+dfsg-1
- Affected ranges
- ECOSYSTEM: < 0.26.0+dfsg-1ubuntu0.1~esm1
Update to 0.26.0+dfsg-1ubuntu0.1~esm1
node-axios Ubuntu:Pro:24.04:LTS
- Versions
- 1.2.1+dfsg-1
- 1.5.1+dfsg-1
- 1.6.2+dfsg-1
- 1.6.8+dfsg-2
- Affected ranges
- ECOSYSTEM: < 1.6.8+dfsg-2ubuntu0.1~esm1
Update to 1.6.8+dfsg-2ubuntu0.1~esm1
node-axios Ubuntu:25.10
- Versions
- 1.7.9+dfsg-1
- 1.8.4+dfsg-1
- 1.11.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:26.04:LTS
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.2+dfsg-1build1
- Affected ranges
- ECOSYSTEM: < 1.13.2+dfsg-1ubuntu0.1~esm1
Update to 1.13.2+dfsg-1ubuntu0.1~esm1
Original sources
- https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5
- https://github.com/axios/axios/pull/10661
- https://github.com/axios/axios/pull/10688
- https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c
- https://github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24df
- https://datatracker.ietf.org/doc/html/rfc1034#section-3.1
- https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
- https://github.com/axios/axios/releases/tag/v0.31.0
- https://github.com/axios/axios/releases/tag/v1.15.0
- https://access.redhat.com/security/cve/CVE-2025-62718
- https://bugzilla.redhat.com/show_bug.cgi?id=2456913
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-62718.json
- https://access.redhat.com/errata/RHSA-2026:24761
- https://access.redhat.com/errata/RHSA-2026:26010
- https://access.redhat.com/errata/RHSA-2026:16874
- https://access.redhat.com/errata/RHSA-2026:36882
- https://access.redhat.com/errata/RHSA-2026:20938
- https://access.redhat.com/errata/RHSA-2026:20889
- https://access.redhat.com/errata/RHSA-2026:24766
- https://access.redhat.com/errata/RHSA-2026:59155
- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/errata/RHSA-2026:13826
- https://nvd.nist.gov/vuln/detail/CVE-2025-62718