CVE-2026-101906 · GHSA-mghh-pgcx-3jjj
Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
- Risk score
- 71/100
- CVSS
- 8.2 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.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…
- Affected
- axios (npm) >= 1.15.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-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%)
- CVE-2026-101909: Axios: Prototype Pollution Gadget in axios toFormData Options (CVSS 8.3 · EPSS 0%)
The fix
Upgrade axios: 1.20.0 · 0.34.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: Denial of service (CWE-400). 252 other warnings in 30 days
Why it is Amber
- CVSS 8.2 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.15.0, < 1.20.0 | 1.20.0 |
References
- https://github.com/advisories/GHSA-mghh-pgcx-3jjj
- https://github.com/axios/axios/security/advisories/GHSA-mghh-pgcx-3jjj
- https://nvd.nist.gov/vuln/detail/CVE-2026-101906
- 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-mghh-pgcx-3jjj
Original description
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 Location contains many dots followed by a non-dot character. Hostname.replace(/.+$/, '') backtracks quadratically while processing the crafted redirect hostname. Synchronous regular-expression processing can block the Node.js event loop and cause denial of service. This issue is fixed in version 1.20.0.
Last activity 28 Sep 2026. Patch Forecast updates every hour.