Skip to main content
VulnerabilityPublished

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

Affects axiosSource GCVE Database

0

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

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmaxiosAffected
  • >=1.0.0 <1.15.1
Fixed in
  • 1.15.1
npmaxiosAffected
  • <0.31.1
Fixed in
  • 0.31.1

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.

References

Community reviews

Loading reviews…