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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-24T17:57:26.975Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-m7pr-hjqh-92cm
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- axios axios: >= 1.0.0, < 1.15.1; < 0.31.1; before 0.31.1; from 1.0.0 before 1.15.1
- axios (npm): from 1.0.0 before 1.15.1; before 0.31.1

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/axios/axios/security/advisories/GHSA-m7pr-hjqh-92cm> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42038> (advisory)
- <https://github.com/axios/axios> (package)

## Sources

- CVE List: [CVE-2026-42038](https://www.cve.org/CVERecord?id=CVE-2026-42038), CVE Terms of Use, modified 2026-04-27
- GitHub Advisory Database: [GHSA-m7pr-hjqh-92cm](https://github.com/advisories/GHSA-m7pr-hjqh-92cm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42038](https://nvd.nist.gov/vuln/detail/CVE-2026-42038), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42038 · Whole record: https://cve.day/CVE-2026-42038.json · Rebuilt by cve.day 2026-11-25T22:59:19.558Z
