CVE-2026-42038
published medium CVSS 3.1 · 6.8Axios: no_proxy bypass via IP alias allows SSRF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| axios | — | axios>= 1.0.0, < 1.15.1 · < 0.31.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| axios | axios | >= 1.0.0, < 1.15.1 (affected)< 0.31.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
1Provider assertions
2GitHub_M · cna
Axios: no_proxy bypass via IP alias allows SSRF
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b8c6653329b48988c5ad8f7332a950ce4d284c76513f655bfabfb54dd8f1336b
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record