CVE-2026-42038 PUBLISHED

Axios: no_proxy bypass via IP alias allows SSRF

Assigner: GitHub_M
Reserved: 23.04.2026 Published: 24.04.2026 Updated: 24.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS Score: 6.8

Product Status

Vendor axios
Product axios
Versions
  • Version >= 1.0.0, < 1.15.1 is affected
  • Version < 0.31.1 is affected

References

Problem Types

  • CWE-918: Server-Side Request Forgery (SSRF) CWE