Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-42038: Axios is a promise based HTTP client for the browser and Node.js

40
This week
MEDIUM 6.8REMOTEUPGRADE

CVE-2026-42038 is a medium-severity flaw (CVSS 6.8) affecting axios. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score6.8 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 75%)
CISA exploited listNo
WeaknessCWE-918
Published2026-04-24
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: axios

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

axios axios UPGRADE
Affected: < 0.31.1 · >= 1.0.0 and < 1.15.1
Fixed in: 0.31.1, 1.15.1
Safe to downgrade to: a release before 1.0.0
1. Check installed version
npm ls axios
2. UPGRADE to 0.31.1
npm install axios@">=0.31.1"
3. If no update is available yet, DOWNGRADE to a release before 1.0.0
npm view axios versions npm install axios@"<1.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-42038?

axios: upgrade to 0.31.1, 1.15.1. Exact commands for each OS are on this page.

Is CVE-2026-42038 being exploited?

CVE-2026-42038 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-42038 affect?

CVE-2026-42038 affects axios. Severity is medium (CVSS 6.8). 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 throu

How urgent is CVE-2026-42038?

Priority 40/100. Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Node.js vulnerabilities · Axios vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.