Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

48
This week
HIGH 7.5REMOTEUPGRADE

CVE-2026-27903 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.3, `matchOne()` performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent `**` (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where `n` is the number of path segments and `k` is t

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.6% (top 53%)
CISA exploited listNo
WeaknessCWE-407
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.3 · >= 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.3, 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.3
npm install minimatch@">=3.1.3"
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-27903?

minimatch: upgrade to 3.1.3, 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-27903 being exploited?

CVE-2026-27903 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-27903 affect?

CVE-2026-27903 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.3, `matchOne()` performs unbounded recursive backtracking whe

How urgent is CVE-2026-27903?

Priority 48/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.