// Security Advisory Triage
Axios 1.20.0 patches SSRF bypass when maxRedirects set to 0
GitHub advisories — npm · published 2026-10-01 04:37 UTC
WHAT CHANGEDCVE-2026-101907 published 30 September 2026. Axios versions before 1.20.0 do not enforce maxRedirects: 0 when using the fetch adapter, allowing server-side request forgery through redirect chains despite the configuration explicitly disabling redirects. Patched in 1.20.0.
WHY IT MATTERSCode that sets maxRedirects: 0 to prevent SSRF is not protected. An attacker can bypass the intended restriction and force the server to follow redirects to internal endpoints or arbitrary URLs, exposing internal services or enabling credential theft.
WHAT TO DOUpgrade axios to 1.20.0 or later. If you cannot upgrade immediately, switch from the fetch adapter to the default XHR/http adapter, or remove maxRedirects: 0 configurations and implement redirect blocking at a different layer.
Model-reported confidence 95% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-r4gj-5m52-g5wh +summary: Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF +severity: high +published_at: 2026-09-30T15:31:58Z +cve_id: CVE-2026-101907 +vulnerabilities[].package.name: axios +vulnerabilities[].first_patched_version: 1.20.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Axios SSRF bypass affects a runtime package in normal service dependency trees. |
| signals | axios is a widely-used HTTP client in JavaScript/TypeScript dependency trees · known exploitation signal: SSRF vulnerability class with real attack surface · high severity rating with CVE assigned · patched version available (1.20.0) · fetch adapter bypass of security setting is a behavioral regression |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |