Skip to main content

Axios HTTP client CVE-2026-42038

| EUVD-2026-25604 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-24 GitHub_M GHSA-m7pr-hjqh-92cm
6.8
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
6.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Red Hat
6.8 MEDIUM
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

6
Patch released
Apr 27, 2026 - 19:52 nvd
Patch available
Patch available
Apr 24, 2026 - 20:17 EUVD
Analysis Generated
Apr 24, 2026 - 18:45 vuln.today
EUVD ID Assigned
Apr 24, 2026 - 18:15 euvd
EUVD-2026-25604
Analysis Generated
Apr 24, 2026 - 18:15 vuln.today
CVE Published
Apr 24, 2026 - 17:57 nvd
MEDIUM 6.8

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 273 npm packages depend on axios (189 direct, 84 indirect)

Ecosystem-wide dependent count for version 1.0.0.

DescriptionGitHub Advisory

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.

AnalysisAI

Axios versions prior to 1.15.1 and 0.31.1 fail to properly bypass proxy configurations when no_proxy=localhost is set, allowing attackers to route requests to loopback addresses (127.0.0.1 and [::1]) through proxy servers instead of bypassing them. This Server-Side Request Forgery (SSRF) vulnerability arises because the shouldBypassProxy() function performs only string matching without resolving IP aliases or loopback equivalents, potentially exposing internal services to proxy interception or manipulation with a CVSS score of 6.8 (high confidentiality impact over changed scope).

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
Configure proxy upstream
Delivery
Application sets no_proxy=localhost
Exploit
Attacker triggers request to 127.0.0.1 or [::1]
Install
shouldBypassProxy() performs string match
C2
Loopback IP not matched
Execute
Request routes through proxy
Impact
Attacker intercepts via proxy
Step 8
Data exposure or service compromise

Vulnerability AssessmentAI

Exploitation Exploitation requires that Axios be configured with a no_proxy setting that explicitly lists localhost or local hostnames (e.g., no_proxy=localhost or no_proxy=127.0.0.1,localhost). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment This vulnerability presents moderate-to-high risk despite the 6.8 CVSS score because it combines a network-exploitable attack vector (AV:N) with high confidentiality impact (C:H) but elevated attack complexity (AC:H). … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker in a network environment where a corporate or ISP proxy is configured targets an organization using Axios with no_proxy=localhost. The attacker crafts a request to 127.0.0.1 or [::1] (e.g., an internal admin API or metadata service on the loopback interface) expecting the request to bypass the proxy due to the no_proxy setting. …
Remediation Upgrade Axios to version 1.15.1 or later for the 1.x branch, or to version 0.31.1 or later for the 0.x branch. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Vendor StatusVendor

Share

CVE-2026-42038 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy