# CVE-2026-42038: Axios: no_proxy bypass via IP alias allows SSRF

> CVE-2026-42038: Axios: no_proxy bypass via IP alias allows SSRF. CVSS 6.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-42038
Last updated: 2026-06-17T10:47:20Z

- Published: 2026-04-24 17:57 UTC · Updated: 2026-06-17 10:47 UTC · Assigner: GitHub\_M
- CVSS: 6.8 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.32%, 25th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-918

## Description

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, he fix for no\_proxy hostname normalization bypass is incomplete. When no\_proxy=localhost is set, requests to 127.0.0.1 and \[::1\] still route through the proxy instead of bypassing it. The shouldBypassProxy() function does pure string matching — it does not resolve IP aliases or loopback equivalents. This vulnerability is fixed in 1.15.1 and 0.31.1.

## Affected vendors and products

- axios: axios

## Tracked companies

- [Bitbucket](https://rewindex.com/company/bitbucket.md)
- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-42038)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-42038)
- [https://github.com/axios/axios/security/advisories/GHSA-m7pr-hjqh-92cm](https://github.com/axios/axios/security/advisories/GHSA-m7pr-hjqh-92cm)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-42038 · Markdown: https://rewindex.com/cve/CVE-2026-42038.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-42038 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T04:06:17.551Z
