CVE-2026-42038

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.

Severity
MEDIUM
CVSS v3
6.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
0.324%
chance of exploitation in the next 30 days
higher than 25.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2026-04-27

Timeline

  1. 2026-04-24Published by the CNA17:57 UTC
  2. 2026-04-27CISA SSVC decision recorded3 days after publication
  3. 2026-05-05GitHub advisory published (GHSA-m7pr-hjqh-92cm)11 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-m7pr-hjqh-92cm, affected packages:

PackageVulnerable versionsFixed in
npm axiosbefore 0.31.10.31.1
npm axiosfrom 1.0.0 before 1.15.11.15.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
axios axiosbefore 0.31.1fixed in 0.31.1from 1.0.0 before 1.15.1fixed in 1.15.10.31.11.15.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources