
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2026-140008 is a denial-of-service vulnerability in the minimatch npm package caused by quadratic compilation time when processing long wildcard-only glob patterns. The flaw exists in versions 11.0.0 through 11.0.6 and was introduced by the mergeRows() function added in commit 2e1d896. It was disclosed on November 30, 2026, with a fix released in version 11.0.7. The vulnerability carries a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory, Feedly).
The root cause is an inefficient algorithm (CWE-407) in the mergeRows() function located in src/index.ts (approximately lines 813–852). For each wildcard position in a pattern row, the function copies and joins the entire row to construct a Map key, resulting in O(n²) compilation time relative to the number of path parts. For example, a pattern of 8,000 wildcard parts (*) joined by / takes approximately 805 ms to compile, and extrapolating to the 64 KB pattern limit (~32,000 parts) would block the event loop for roughly 13 seconds. Brace expansion that generates multiple rows further multiplies the cost. The fix in version 11.0.7 replaces the full-row join with an incremental prefix/suffix hashing scheme via a new #mergeKeys() method, reducing complexity to linear (GitHub Advisory, Fix Commit).
Successful exploitation allows an unauthenticated remote attacker to block the Node.js JavaScript event loop by supplying crafted glob patterns with many wildcard path segments, causing a complete denial of service for any application that passes uncached user-controlled patterns to new Minimatch() or other compiling entry points. There is no confidentiality or integrity impact — the vulnerability is limited to availability. Applications using brace expansion in patterns face amplified impact due to the multiplicative effect on row count (GitHub Advisory, Feedly).
As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is 0.0, reflecting a very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires only the ability to supply uncached glob patterns to an affected application — no authentication or special privileges are needed — making it straightforward to trigger if such an input path exists.
minimatch versions 11.0.0–11.0.6 that accepts user-controlled input passed directly or indirectly to new Minimatch(pattern) or equivalent compiling entry points without caching or input validation.Array(8000).fill('*').join('/'), or amplify the effect using brace expansion such as {w0,w1,...,w15}/*/*/*/... with thousands of wildcard parts.mergeRows() function processes the pattern, performing O(n²) work that blocks the JavaScript event loop for several seconds to over 13 seconds per request at maximum pattern size.* characters separated by /, or large brace-expanded glob expressions in query parameters or request bodies.The primary remediation is to upgrade minimatch to version 11.0.7 or later, which replaces the quadratic mergeRows() key-building logic with a linear incremental hashing approach (Fix Commit). If immediate patching is not feasible, mitigations include: validating and limiting the length or complexity of user-supplied glob patterns before passing them to Minimatch; caching compiled patterns so repeated identical inputs do not re-trigger compilation; and implementing timeouts around pattern compilation operations to prevent event loop blocking (Feedly).
The vulnerability was reported by researcher icguner and disclosed via GitHub Security Advisories on November 10, 2026. A Bluesky post from a CVE tracking account noted the disclosure shortly after publication. No significant vendor statements beyond the GitHub advisory or notable media coverage have been identified at this time (GitHub Advisory).
ソース: この報告書はAIを用いて作成されました
無料脆弱性評価
9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"