Vulnerability · Published Feb 26, 2026 · Assigned by GitHub_M

CVE-2026-27904minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions

High 7.5

In plain English

A high-severity regular-expression denial of service in minimatch from isaacs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 55.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.4, nested `*()` extglobs produce regexps with nested unbounded quantifiers (e.g. `(?:(?:a|b)*)*`), which exhibit catastrophic backtracking in V8. With a 12-byte pattern `*(*(*(a|b)))` and an 18-byte non-matching input, `minimatch()` stalls for over 7 seconds. Adding a single nesting level or a few input characters pushes this to minutes. This is the most severe finding: it is triggered by the default `minimatch()` API with no special options, and the minimum viable pattern is only 12 bytes. The same issue affects `+()` extglobs equally. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.4 fix the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:8nodejs1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:9nodejs1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux:8nodejs-devel1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:8nodejs-devel1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:9nodejs-devel1:20.20.2-1.module_el9.7.0+224+0af7cc6bALSA-2026:7896
AlmaLinux:9nodejs-devel1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux:10nodejs-docs1:22.22.2-1.el10_1ALSA-2026:7080
AlmaLinux:8nodejs-docs1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:8nodejs-docs1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:9nodejs-docs1:20.20.2-1.module_el9.7.0+224+0af7cc6bALSA-2026:7896
AlmaLinux:8nodejs-full-i18n1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:8nodejs-full-i18n1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:9nodejs-full-i18n1:20.20.2-1.module_el9.7.0+224+0af7cc6bALSA-2026:7896
AlmaLinux:9nodejs-full-i18n1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux:8nodejs-libs1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.10.0+4006+3c416519ALSA-2026:7123
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.10.0+3982+85c136aaALSA-2026:8339
AlmaLinux:9nodejs-nodemon3.0.1-1.module_el9.5.0+125+8dc38870ALSA-2026:7896
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux:8npm1:10.8.2-1.20.20.2.1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux:8npm1:10.9.7-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux:9npm1:10.8.2-1.20.20.2.1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux:9npm1:10.8.2-1.20.20.2.1.module_el9.7.0+224+0af7cc6bALSA-2026:7896
AlmaLinux:8v8-12.4-devel3:12.4.254.21-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7123
Debian:12node-minimatchno fix listedDEBIAN-CVE-2026-27904
Debian:13node-minimatchno fix listedDEBIAN-CVE-2026-27904
Debian:14node-minimatch9.0.7-1DEBIAN-CVE-2026-27904
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2026:7123
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2026:8339
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:8339
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2026:7302
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40017+f0db1785RLSA-2026:7302
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2026:7896
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2026:7896
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40017+f0db1785RLSA-2026:7896
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2026:7302
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:7123
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:8339
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7302
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7896
Rocky Linux:10nodejs221:22.22.2-1.el10_1RLSA-2026:7080
Ubuntu:22.04:LTSnode-minimatchno fix listedUBUNTU-CVE-2026-27904
Ubuntu:24.04:LTSnode-minimatchno fix listedUBUNTU-CVE-2026-27904
Ubuntu:25.10node-minimatchno fix listedUBUNTU-CVE-2026-27904
Ubuntu:26.04:LTSnode-minimatchno fix listedUBUNTU-CVE-2026-27904
Ubuntu:26.10node-minimatchno fix listedUBUNTU-CVE-2026-27904
npmminimatch10.2.3GHSA-23c5-xmqv-rm74
npmminimatch4.2.5GHSA-23c5-xmqv-rm74
npmminimatch5.1.8GHSA-23c5-xmqv-rm74
npmminimatch6.2.2GHSA-23c5-xmqv-rm74
npmminimatch7.4.8GHSA-23c5-xmqv-rm74
npmminimatch8.0.6GHSA-23c5-xmqv-rm74
npmminimatch3.1.4GHSA-23c5-xmqv-rm74
npmminimatch9.0.7GHSA-23c5-xmqv-rm74

Affected products (as reported)

VendorProductVersions
isaacs minimatch >= 10.0.0, < 10.2.3>= 9.0.0, < 9.0.7>= 8.0.0, < 8.0.6>= 7.0.0, < 7.4.8>= 6.0.0, < 6.2.2>= 5.0.0, < 5.1.8>= 4.0.0, < 4.2.5< 3.1.4

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References