# CVE-2026-101906: Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location

> Attackers can cause denial of service in Axios by triggering quadratic regex backtracking via crafted redirect hostnames when proxy bypass settings are configured.

- **Severity:** High 8.2 (`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 28 Sep 2026
- **Updated:** 28 Sep 2026
- **Also known as:** CLEANSTART-2026-GY66727, CLEANSTART-2026-LO23632, CLEANSTART-2026-SE41878, DEBIAN-CVE-2026-101906, ECHO-6280-5ea2-cc61, GHSA-mghh-pgcx-3jjj, MINI-3qj5-vj3p-vm2x, MINI-5f87-6h65-3rp2, MINI-6crv-9pr9-x6fg, MINI-gmhc-87vx-j88f, MINI-jm6q-pr8x-4g33, MINI-m4m5-8ww8-q686, MINI-m7qx-227w-rwqf, MINI-mfm5-5v34-85pc, MINI-mfrr-qfh3-5w5w, MINI-rvqv-fv5c-c2jh, MINI-rxhv-rxj2-fpr9, ROOT-APP-NPM-CVE-2026-101906, UBUNTU-CVE-2026-101906

## What is CVE-2026-101906?

CVE-2026-101906 is a high-severity denial of service vulnerability in axios, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official 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.

Weakness: CWE-400 (Uncontrolled Resource Consumption), CWE-1333 (Inefficient Regular Expression Complexity)

## Which versions are affected by CVE-2026-101906?

2 open source packages ship an affected version, including axios.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `axios` | npm | From 1.15.0 | 1.20.0 |
| `axios` | npm | From 1.15.0 | 1.20.0 |

## How do I fix CVE-2026-101906?

Upgrade axios to 1.20.0 or later.

## Is CVE-2026-101906 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-101906 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-101906 and fix it if it is affected.

What it is: CVE-2026-101906 is a high-severity denial of service vulnerability in axios, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-101906 exists.

Affected packages and fixed versions:
- axios (npm): affected from 1.15.0; fixed in 1.20.0
- axios (npm): affected from 1.15.0; fixed in 1.20.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-101906/ (Markdown: https://insights.sbomify.com/CVE-2026-101906/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-101906
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-101906
- OSV: https://osv.dev/vulnerability/CVE-2026-101906

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-101906/
Summaries are generated and may contain mistakes; the official description above is the record.
