Back to list

Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF — GHSA-R4GJ-5M52-G5WH

GitHub · GitHub · GHSA-R4GJ-5M52-G5WH

ID
GHSA-R4GJ-5M52-G5WH
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7
EPSS
0.00414

Summary

## Summary Axios exposes `maxRedirects` to limit redirect following, and `maxRedirects: 0` is used by applications as a redirect-based SSRF guard. The Node HTTP adapter enforces this option. The fetch adapter does not read it and does not set a Fetch API `redirect` mode, so the runtime default of `redirect: 'follow'` applies. Applications are affected when they rely on `maxRedirects: 0` and use the fetch adapter,…

Timeline

Published by source
2026-09-30

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7 out of 10.
  • Reported EPSS value: 0.00414.
  • Review exposure for the affected product or family: npm: axios.

Product

npm: axios

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-R4GJ-5M52-G5WH
Source
GitHub
Vendor
GitHub
Published by source
2026-09-30
Last source activity
2026-09-30
Additional identifiers
CVE-2026-101907
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.