# CVE-2026-42038

> Vulnerability · severity: **MEDIUM** (CVSS 6.8).

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

## Key facts

- **CVE ID:** CVE-2026-42038
- **Published:** 2026-04-24
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.8
- **CWE codes:** CWE-918

## Affected products

- `axios:axios`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-42038

## Citation

> AI Analytics. CVE-2026-42038. Retrieved 2026-08-17 from https://api.ai-analytics.org/cve/CVE-2026-42038. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*