Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-27904: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects

47
This week
HIGH 7.5REMOTEUPGRADE

CVE-2026-27904 is a high-severity flaw (CVSS 7.5) affecting minimatch. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 si

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.5% (top 56%)
CISA exploited listNo
WeaknessCWE-1333
Published2026-02-26
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: minimatch project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

minimatch project minimatch UPGRADE
Affected: < 3.1.4 · >= 4.0.0 and < 4.2.5 · >= 5.0.0 and < 5.1.8 · >= 6.0.0 and < 6.2.2 · >= 7.0.0 and < 7.4.8 · >= 8.0.0 and < 8.0.6 · >= 9.0.0 and < 9.0.7 · >= 10.0.0 and < 10.2.3
Fixed in: 3.1.4, 4.2.5, 5.1.8, 6.2.2, 7.4.8, 8.0.6, 9.0.7, 10.2.3
Safe to downgrade to: a release before 4.0.0
1. Check installed version
npm ls minimatch
2. UPGRADE to 3.1.4
npm install minimatch@">=3.1.4"
3. If no update is available yet, DOWNGRADE to a release before 4.0.0
npm view minimatch versions npm install minimatch@"<4.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-27904?

minimatch: upgrade to 3.1.4, 4.2.5, 5.1.8, 6.2.2, 7.4.8, 8.0.6, 9.0.7, 10.2.3. Exact commands for each OS are on this page.

Is CVE-2026-27904 being exploited?

CVE-2026-27904 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-27904 affect?

CVE-2026-27904 affects minimatch. Severity is high (CVSS 7.5). 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 unbounde

How urgent is CVE-2026-27904?

Priority 47/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.