## minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache

- 種別: advisory
- 重大度: low
- 関連技術: nodejs
- CVE: CVE-2026-141514
- 公開日時: 2026-12-04T21:52:16.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-3924-r96c-gp9w)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-3924-r96c-gp9w

影響: npm:minimatch >= 11.0.6, <= 11.0.9 → 11.0.10
minimatch's module-global matcher cache can be poisoned by a __proto__ key in the options object passed to minimatch(). optionsKey() scores that key the same as no options at all, while copyOptions()'s bare for...in loop re-parents its copy onto the attacker's prototype instead of copying it as an own property — one caller doing this is enough to flip the cached matcher's case-sensitivity for every later, unrelated caller matching the same pattern string. Details src/index.ts:229-234, optionsKe…