SB20261119126 - Multiple vulnerabilities in minimatch



SB20261119126 - Multiple vulnerabilities in minimatch

Published: November 19, 2026

Security Bulletin ID SB20261119126
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Improper Encoding or Escaping of Output (CVE-ID: N/A)

CWE-ID: CWE-116 - Improper Encoding or Escaping of Output

CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote user to bypass application allowlists or exclusion rules, potentially exposing files.

The vulnerability exists due to improper escaping in minimatch.escape() and its interaction with brace expansion when converting untrusted text to literal glob patterns: leading negation and comment markers retain their meaning, and brace expansion can collapse escaped backslashes or reinterpret braces inside Windows-mode character classes. A remote user can supply text that an application treats as literal to widen a match or prevent an intended match.


2) Resource exhaustion (CVE-ID: N/A)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service by exhausting the memory of an application that accepts untrusted glob patterns.

The vulnerability exists due to a missing memory limit in the global compiled-pattern cache when the top-level minimatch() function caches expanded glob patterns, because the cache limits only the number of entries. A remote attacker can submit glob patterns to an application that passes them to this function to exhaust process memory and crash the application.


Remediation

Install update from vendor's website.