Inefficient Algorithmic Complexity Affecting minimatch package, versions <3.1.3>=4.0.0 <4.2.5>=5.0.0 <5.1.8>=6.0.0 <6.2.2>=7.0.0 <7.4.8>=8.0.0 <8.0.6>=9.0.0 <9.0.7>=10.0.0 <10.2.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MINIMATCH-15353389
  • published26 Feb 2026
  • disclosed26 Feb 2026
  • creditdolevmiz1

Introduced: 26 Feb 2026

NewCVE-2026-27903  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade minimatch to version 3.1.3, 4.2.5, 5.1.8, 6.2.2, 7.4.8, 8.0.6, 9.0.7, 10.2.3 or higher.

Overview

minimatch is a minimal matching utility.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the matchOne function. An attacker can cause significant delays in processing and stall the event loop by supplying specially crafted glob patterns containing multiple non-adjacent GLOBSTAR segments.

References

CVSS Base Scores

version 4.0
version 3.1