Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-101907
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:42 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 28 Sept 2026, 17:36 UTC

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.

osv:CVE-2026-101907
Complete source record
{
  "id": "eb2cd3c59faa30ba1f3caf828b1f5ff114f6dddd79a2fba0977aa5543c174963",
  "url": "https://osv.dev/vulnerability/CVE-2026-101907",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF",
    "summary": "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.",
    "evidence": "osv:CVE-2026-101907",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-101907",
      "aliases": [
        "CVE-2026-101907",
        "GHSA-r4gj-5m52-g5wh"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/axios/axios",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4306df21e84332fc576e98c2de549347c06bfb76"
                },
                {
                  "fixed": "84a9f3b9a4f3244b8c8e818f557d64c7b964fb25"
                },
                {
                  "fixed": "d19040bda7a8be2f82c3c6e1a5bc03917daee39a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.17.0"
                      },
                      {
                        "fixed": "1.20.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d19040bda7a8be2f82c3c6e1a5bc03917daee39a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "84a9f3b9a4f3244b8c8e818f557d64c7b964fb25"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.20.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.19.0",
            "v1.18.1",
            "v1.18.0",
            "v1.17.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-101907.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.302908319Z",
      "provider": "osv",
      "references": [
        "https://github.com/axios/axios/releases/tag/v1.20.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101907.json",
        "https://github.com/axios/axios/security/advisories/GHSA-r4gj-5m52-g5wh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-101907",
        "https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a",
        "https://github.com/axios/axios/pull/11141"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-441",
          "CWE-601"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101907.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-101907",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517450,
  "published_at": "2026-09-28T17:36:03.648+00:00"
}