CVE-2026-101907 · GHSA-r4gj-5m52-g5wh
Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF
- Risk score
- 64/100
- CVSS
- 7.0 v4.0
- Exploit chance (30 days)
- 0.4%
- Published
- 28 Sep 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 in…
- Affected
- axios (npm) >= 1.17.0, < 1.20.0
- Fix
- Upgrade axios to 1.20.0 or later.
- Exploitation
- Public proof of concept
Story map
At a glance
axios: Amber, patch this week. Axios is a promise-based HTTP client for the browser and Node.js. From 1.15.0 until 1.20.0, Axios shouldBypassProxy applies a quadratic trailing-dot regular expression to redirect hostnames. HTTP_PROXY or HTTPS_PROXY is configured, NO_PROXY or no_proxy is non-empty, redirects are followed, and a crafted redirect Locat…
The flaws
- CVE-2026-101907: Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF (CVSS 7.0 · EPSS 0%)
- CVE-2026-101906: Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location (CVSS 8.2 · EPSS 0%)
- CVE-2026-101901: Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization (CVSS 8.2 · EPSS 0%)
- CVE-2026-101903: Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS) (CVSS 8.2 · EPSS 0%)
The fix
Upgrade axios: 1.20.0 or later on your release line
Who is exposed: axios (npm) >= 1.15.0, < 1.20.0
Where it stands
- Public proof of concept
Connects to
- Same weakness: CWE-441 (CWE-441). 32 other warnings in 30 days
Why it is Amber
- CVSS 7.0 high
- Public exploit or proof of concept referenced
- Remotely exploitable without logging in
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| axios | npm | >= 1.17.0, < 1.20.0 | 1.20.0 |
References
- https://github.com/advisories/GHSA-r4gj-5m52-g5wh
- 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/pull/11141
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a
- https://github.com/axios/axios/releases/tag/v1.20.0
- https://github.com/advisories/GHSA-r4gj-5m52-g5wh
Original 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.
Last activity 28 Sep 2026. Patch Forecast updates every hour.