PT-2026-22078 · Minimatch+1 · Minimatch+1

Dolevmiz1

·

Published

2026-02-26

·

Updated

2026-05-21

·

CVE-2026-27903

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions minimatch versions prior to 3.1.3 minimatch versions 3.1.3 through 4.2.5 minimatch versions 4.2.5 through 5.1.8 minimatch versions 5.1.8 through 6.2.2 minimatch versions 6.2.2 through 7.4.8 minimatch versions 7.4.8 through 8.0.6 minimatch versions 8.0.6 through 9.0.7 minimatch versions 9.0.7 through 10.2.3
Description The minimatch software contains a flaw where the matchOne() function can experience unbounded recursive backtracking when processing glob patterns with multiple non-adjacent ** (GLOBSTAR) segments, particularly when the input path does not match the pattern. This can lead to a time complexity of O(C(n, k)), where n represents the number of path segments and k is the number of globstars. This issue can cause the Node.js event loop to stall for extended periods, potentially tens of seconds, with a pattern size of approximately 56 bytes. Applications vulnerable to this issue include build tools, task runners, multi-tenant systems, admin interfaces, and CI/CD pipelines that accept user-supplied glob arguments. An attacker who can control the glob pattern passed to minimatch() can exploit this flaw.
Recommendations Update to minimatch version 3.1.3 or later. Update to minimatch version 4.2.5 or later. Update to minimatch version 5.1.8 or later. Update to minimatch version 6.2.2 or later. Update to minimatch version 7.4.8 or later. Update to minimatch version 8.0.6 or later. Update to minimatch version 9.0.7 or later. Update to minimatch version 10.2.3 or later.

Exploit

Fix

DoS

Weakness Enumeration

Related Identifiers

BDU:2026-07268
CLEANSTART-2026-CE10526
CLEANSTART-2026-DV49099
CLEANSTART-2026-GS57401
CLEANSTART-2026-LC05413
CLEANSTART-2026-NB51079
CLEANSTART-2026-OW14933
CLEANSTART-2026-SW34937
CVE-2026-27903
GHSA-7R86-CG39-JMMJ

Affected Products

Red Os
Minimatch