CVE-2026-42038: Axios · no_proxy bypass via IP alias allows SSRF
Affects axiosSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium : upgrade to 1.15.1 when convenient.
Data as of 27 Oct 2026, 01:31 UTC
- Patch
- Available – fixed in 1.15.1, 0.31.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade axios to 1.15.1; axios to 0.31.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmaxios | Affected
| Fixed in
|
| npmaxios | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Axios versions 1.15.1 and 0.31.1 that fixes the no_proxy bypass by resolving loopback IP aliases correctly. Users should upgrade to these fixed versions to mitigate the vulnerability. No additional mitigation is required if these versions are in use.
Description
Axios versions prior to 1.15.1 and 0.31.1 contain a vulnerability in the no_proxy environment variable handling that allows bypassing proxy restrictions via IP aliasing. Specifically, when no_proxy=localhost is set, requests to 127.0.0.1 and [::1] do not bypass the proxy as intended, due to the shouldBypassProxy() function performing only string matching without resolving loopback IP aliases. This can lead to server-side request forgery (SSRF) risks where an attacker can route internal requests through a malicious proxy.