Description
Axios is a promise-based HTTP client for the browser and Node.js. From 1.17.0 until 1.20.0, the fetch adapter bypasses the maxRedirects: 0 redirect policy. An Axios request uses the fetch adapter with maxRedirects set to zero and receives a redirect response. The underlying fetch implementation follows the redirect instead of returning the redirect response unchanged. The redirected request can access internal responses or reach state-changing internal endpoints despite redirects being disabled. This issue is fixed in version 1.20.0.
Published: 2026-09-28
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Server Side Request Forgery (SSRF)
Action: Immediate Patch
AI Analysis

Impact

The Axios JavaScript HTTP client has a flaw in versions 1.17.0 through 1.19.9 where the fetch adapter ignores the maxRedirects: 0 setting. Instead of returning the redirect response, the underlying fetch implementation follows the redirect, allowing the client to reach internal resources or invoke state‑changing endpoints that should be inaccessible when redirects are disabled. This behavior can be exploited to deliver a Server Side Request Forgery attack, where a malicious URL is supplied to an application that then performs a redirect to a protected internal network location.

Affected Systems

The vulnerability affects the Axios library across all platforms that employ the fetch adapter, specifically versions 1.17.0 to 1.19.9 inclusive. Applications that embed Axios in web front‑ends, Node.js services, or any environment that uses the fetch adapter for HTTP requests are exposed. Updating the library to 1.20.0 or newer removes the bug.

Risk and Exploitability

The CVSS score of 7 identifies the issue as high severity. The EPSS score of < 1% indicates a very low exploitation probability at present, and the flaw is not listed in CISA’s KEV catalog. The likely attack vector is remote; it is inferred that an attacker can trigger the redirect by supplying a malicious URL in an Axios request, especially if the application accepts or forwards untrusted URLs. Because the rewritten request can reach internal resources, the risk remains significant for systems that build HTTP calls from user input or redirect‑friendly environments.

Generated by OpenCVE AI on September 30, 2026 at 04:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Axios to version 1.20.0 or later to apply the vendor‑supplied fix that enforces the maxRedirects policy.
  • If an upgrade is not immediately feasible, replace the fetch adapter with a custom adapter or the default Node HTTP adapter that properly honors redirect limits.
  • Implement input validation to restrict URLs used in Axios calls, rejecting those that trigger redirects or point to internal networks until a secure configuration is in place.

Generated by OpenCVE AI on September 30, 2026 at 04:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r4gj-5m52-g5wh Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF
History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-918
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate


Mon, 28 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
Description Axios is a promise-based HTTP client for the browser and Node.js. From 1.17.0 until 1.20.0, the fetch adapter bypasses the maxRedirects: 0 redirect policy. An Axios request uses the fetch adapter with maxRedirects set to zero and receives a redirect response. The underlying fetch implementation follows the redirect instead of returning the redirect response unchanged. The redirected request can access internal responses or reach state-changing internal endpoints despite redirects being disabled. This issue is fixed in version 1.20.0.
Title Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF
Weaknesses CWE-441
CWE-601
References
Metrics cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-28T18:46:00.688Z

Reserved: 2026-09-28T15:55:37.907Z

Link: CVE-2026-101907

cve-icon Vulnrichment

Updated: 2026-09-28T18:45:35.323Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-28T18:17:19.270

Modified: 2026-09-30T19:38:27.293

Link: CVE-2026-101907

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-28T17:36:03Z

Links: CVE-2026-101907 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T04:45:19Z

Weaknesses
  • CWE-441

    Unintended Proxy or Intermediary ('Confused Deputy')

  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

  • CWE-918

    Server-Side Request Forgery (SSRF)