Skip to main content

Node axios: From 1.15.0 until 1.20.0, Axios shouldBypassProxy applies a quadratic trailing-dot regular expression to redirect hostnames. (CVE-2026-101906)

0
Medium
Published: 09/28/2026 (09/28/2026, 18:17:00 UTC)
Source: GCVE Database
Product: node-axios

Description

Axios versions from 1.15.0 up to but not including 1.20.0 contain a vulnerability in the shouldBypassProxy function where a quadratic trailing-dot regular expression is applied to redirect hostnames. When HTTP_PROXY or HTTPS_PROXY is configured with a non-empty NO_PROXY or no_proxy, and redirects are followed, a crafted redirect Location header containing many dots followed by a non-dot character can cause the hostname.replace regular expression to backtrack quadratically. This synchronous regex processing can block the Node.js event loop, resulting in a denial of service. The issue is fixed in version 1.20.0.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Ubuntu:Pro:20.04:LTSmore threats →ghsa
node-axios
pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/focal
Affected versions
=0.19.0+dfsg-2=0.19.0+dfsg-2ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
node-axios
pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/jammy
Affected versions
=0.21.1+dfsg-1=0.23.0+dfsg-2=0.24.0+dfsg-1=0.25.0+dfsg-2=0.26.0+dfsg-1=0.26.0+dfsg-1ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
node-axios
pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/noble
Affected versions
=1.2.1+dfsg-1=1.5.1+dfsg-1=1.6.2+dfsg-1=1.6.8+dfsg-2=1.6.8+dfsg-2ubuntu0.1~esm1
Ubuntu:26.10more threats →ghsa
node-axios
pkg:deb/ubuntu/node-axios?arch=source&distro=stonking
Affected versions
=1.13.2+dfsg-1build1=1.16.0-1=1.18.0-1=1.19.0-1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
node-axios
pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/resolute
Affected versions
=1.11.0+dfsg-1=1.12.1+dfsg-1=1.13.2+dfsg-1build1=1.13.2+dfsg-1ubuntu0.1~esm1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 22:48:57 UTC

Technical Analysis

Axios, a promise-based HTTP client for Node.js and browsers, has a denial of service vulnerability in versions 1.15.0 through 1.19.x due to inefficient regular expression processing in the shouldBypassProxy function. Specifically, when proxy environment variables are set and redirects are followed, a maliciously crafted redirect hostname with many trailing dots can cause the regex to backtrack quadratically, blocking the Node.js event loop synchronously. This leads to a denial of service condition. The vulnerability is resolved in Axios version 1.20.0.

Potential Impact

An attacker can cause a denial of service by triggering synchronous, quadratic-time regular expression processing in Axios when handling crafted redirect hostnames under certain proxy configurations. This blocks the Node.js event loop, potentially making the application unresponsive.

Mitigation Recommendations

Upgrade Axios to version 1.20.0 or later where this vulnerability is fixed. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-101906
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
4.0

Threat ID: 6ad3f5002cdf04f656657bc8

Added to database: 10/17/2026, 22:21:52 UTC

Last enriched: 10/17/2026, 22:48:57 UTC

Last updated: 10/17/2026, 22:48:57 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses