CVE-2026-42038
HIGH 7.5CVSS 3.1Axios: no_proxy bypass via IP alias allows SSRF
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.
- Published
- 24 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-m7pr-hjqh-92cm
- Sources
- NVDJSONOSV GHSA-m7pr-hjqh-92cmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
< 0.31.1 | 0.31.1 |
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
>= 1.0.0, < 1.15.1 | 1.15.1 |
| OSV | npm | axios | >= 1.0.0, < 1.15.1 | 1.15.1 |
| OSV | npm | axios | < 0.31.1 | 0.31.1 |
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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 May 2026)