CVE-2026-26996Minimatch Project Minimatch
High 8.7 No auth needed
Follow: this CVE · Minimatch Project · Minimatch Project Minimatch We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Feb 20, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.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
What happens
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.
What to do
- Apply the vendor's security update for Minimatch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | minimatch |
≥ 10.0.0 < 10.2.1 |
10.2.1 |
npm install minimatch@10.2.1 |
| npm | minimatch |
≥ 9.0.0 < 9.0.6 |
9.0.6 |
npm install minimatch@9.0.6 |
| npm | minimatch |
≥ 8.0.0 < 8.0.5 |
8.0.5 |
npm install minimatch@8.0.5 |
| npm | minimatch |
≥ 7.0.0 < 7.4.7 |
7.4.7 |
npm install minimatch@7.4.7 |
| npm | minimatch |
≥ 6.0.0 < 6.2.1 |
6.2.1 |
npm install minimatch@6.2.1 |
| npm | minimatch |
≥ 5.0.0 < 5.1.7 |
5.1.7 |
npm install minimatch@5.1.7 |
| npm | minimatch |
≥ 4.0.0 < 4.2.4 |
4.2.4 |
npm install minimatch@4.2.4 |
| npm | minimatch |
< 3.1.3 |
3.1.3 |
npm install minimatch@3.1.3 |
Per OSV / GitHub Advisories (GHSA-3ppc-4f35-3m26). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| minimatch_project | minimatch | ≥ 3.0.0 < 3.1.3 |
| minimatch_project | minimatch | ≥ 4.0.0 < 4.2.4 |
| minimatch_project | minimatch | ≥ 5.0.0 < 5.1.7 |
| minimatch_project | minimatch | ≥ 6.0.0 < 6.2.1 |
| minimatch_project | minimatch | ≥ 7.0.0 < 7.4.7 |
| minimatch_project | minimatch | ≥ 8.0.0 < 8.0.5 |
| minimatch_project | minimatch | ≥ 9.0.0 < 9.0.6 |
| minimatch_project | minimatch | ≥ 10.0.0 < 10.2.1 |
Official advisories
- Security update for cockpit, cockpit-machines, cockpit-packages, cockpit-podman, cockpit-repos, cockpit-subscriptions · SUSE · SUSE-SU-2026:22770-1 · Jul 21, 2026 Critical
- Security update for cockpit, cockpit-machines, cockpit-packages, cockpit-podman, cockpit-repos, cockpit-subscriptions · SUSE · SUSE-SU-2026:22837-1 · Jul 21, 2026 Critical
- Security update for cockpit, cockpit-machines, cockpit-packages, cockpit-podman, cockpit-repos, cockpit-subscriptions · SUSE · openSUSE-SU-2026:21399-1 · Jul 21, 2026 Critical
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update · Red Hat · RHSA-2026:24761 · Jun 10, 2026 High
- Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.1.6 security update · Red Hat · RHSA-2026:18054 · May 19, 2026 High
- Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.1.6 security update · Red Hat · RHSA-2026:18055 · May 19, 2026 High
Also: SUSE (+30), Red Hat (+13)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory