CVE-2026-26996
minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
Description
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.
INFO
Published Date :
Feb. 20, 2026, 3:16 a.m.
Last Modified :
Feb. 20, 2026, 7:12 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update minimatch to version 10.2.1 or later.
- Avoid user-controlled input for glob patterns.
- Sanitize glob patterns before passing to minimatch.
Public PoC/Exploit Available at Github
CVE-2026-26996 has a 4 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-26996.
| URL | Resource |
|---|---|
| https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5 | Patch |
| https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26 | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-26996 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-26996
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile
# مستودع asrar-mared هذا هو المستودع الرئيسي لمجموعة **المارد الرقمي**، نقطة التحكم المركزية التي تجمع كل المشاريع والميول التقنية تحت راية واحدة. يمثل الأساس الذي تُبنى عليه الفروع الأخرى، ويُدار منه كل شيء من تنظيم الكود إلى إدارة المجتمع. للاطلاع على المستودع: [asrar-mared](https://github.com/asrar-mared)
HTML CSS
None
HTML CSS TypeScript
Static code analysis for Apigee proxy bundles to encourage API developers to use best practices and avoid anti-patterns.
JavaScript PEG.js
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-26996 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-26996 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 20, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:* versions up to (excluding) 10.2.1 Added Reference Type GitHub, Inc.: https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26 Types: Exploit, Vendor Advisory -
New CVE Received by [email protected]
Feb. 20, 2026
Action Type Old Value New Value Added Description minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-1333 Added Reference https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5 Added Reference https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26