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

Published Apr 24, 2026
·
Updated

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.

Affected Software

5 affected componentsFixes available
npm/axios<1.15.1, <0.31.1
Axios Axios Node.js<0.31.1
Axios Axios Node.js>=1.0.0<1.15.1
npm/axios<=0.31.0
0.31.1
npm/axios>=1.0.0<1.15.1
1.15.1

Event History

Apr 24, 2026
CVE Published
via MITRE·05:57 PM
Data Sourced
via MITRE·05:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software
May 5, 2026
Advisory Published
via GitHub·12:40 AM
Data Sourced
via GitHub·12:40 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42038?

CVE-2026-42038 has a medium severity rating due to its potential for allowing server-side request forgery (SSRF) attacks.

2

How do I fix CVE-2026-42038?

To fix CVE-2026-42038, upgrade Axios to version 1.15.1 or later, or 0.31.1 or later.

3

What systems are impacted by CVE-2026-42038?

CVE-2026-42038 impacts Axios versions prior to 1.15.1 and 0.31.1 on both browser and Node.js environments.

4

What does CVE-2026-42038 affect in Axios?

CVE-2026-42038 affects the no_proxy hostname normalization, allowing IP alias bypass that can lead to SSRF vulnerability.

5

Is there a workaround for CVE-2026-42038?

There is no official workaround for CVE-2026-42038; upgrading to the fixed versions is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203