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.
Published: 2026-09-28
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via regular‑expression denial of service
Action: Immediate Patch
AI Analysis

Impact

Axios, a widely used HTTP client, contains a quadratic regular‑expression that performs host normalization during proxy bypass checks. The vulnerability is triggered when a crafted redirect location includes a long sequence of dots followed by a non‑dot character. Processing this string causes the RegExp engine to backtrack quadratically, potentially blocking the Node.js event loop and leading to a denial of service. The flaw resides in a Parsing and Regular‑Expression weakness (CWE‑1333) and manifests as an unbounded resource consumption issue (CWE‑400).

Affected Systems

The affected product is Axios, version 1.15.0 through 1.19.x, inclusive. Any installation that relies on these releases and that configures HTTP_PROXY or HTTPS_PROXY while allowing redirects to untrusted locations can be impacted.

Risk and Exploitability

The CVSS score of 8.2 classifies this as a high‑severity weakness. Although the EPSS score is not published, the absence of KEV listing does not diminish the risk; a crafted redirect can be delivered via malicious web content or compromised servers. The likely attack vector is through a redirect endpoint supplied by a third‑party service or attacker‑controlled domain, which is inferred from the description of a redirect Location containing many dots. An attacker with control over such redirects can deploy the payload, forcing the client or server to consume excessive CPU cycles and halt normal operation.

Generated by OpenCVE AI on September 28, 2026 at 18:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Axios to version 1.20.0 or later where the host–normalization logic has been rewritten to eliminate the quadratic backtracking
  • If an upgrade cannot be performed immediately, remove or restrict HTTP_PROXY and HTTPS_PROXY bindings for the affected environment and restrict NO_PROXY to trusted domains to prevent undesired redirect processing
  • After mitigation, monitor application performance and confirm that the event loop remains responsive under normal redirect traffic

Generated by OpenCVE AI on September 28, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mghh-pgcx-3jjj Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Mon, 28 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios

Mon, 28 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
Weaknesses CWE-1333
CWE-400
References
Metrics cvssV4_0

{'score': 8.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-28T19:15:12.274Z

Reserved: 2026-09-28T15:55:37.907Z

Link: CVE-2026-101906

cve-icon Vulnrichment

Updated: 2026-09-28T19:14:46.582Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-28T18:17:19.100

Modified: 2026-09-30T19:38:27.293

Link: CVE-2026-101906

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-28T17:32:40Z

Links: CVE-2026-101906 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-28T19:15:05Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-400

    Uncontrolled Resource Consumption