CVE-2026-101907

Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF

State
Published
Severity
7.0 High
Published
Sep 28, 2026
Updated
Sep 28, 2026
Reserved
Sep 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:NGitHub_M

Weaknesses

  • CWE-441 Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-601 URL Redirection to Untrusted Site ('Open Redirect')

Affected Products

ProductVersions
axiosaxios
  • >= 1.17.0, < 1.20.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.