minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.6 until 11.0.10, minimatch's module-global matcher cache can be poisoned when an options object passed to minimatch() contains an own proto property. In src/index.ts, optionsKey() assigns that property no cache-key weight while copyOptions() copies it into a normal object, changing the copy's prototype, and cachedMinimatch() stores the resulting matcher in the cache slot used by default options. A later independent caller matching the same pattern without options can therefore receive attacker-influenced behavior, such as case-insensitive matching, which can alter security-relevant allow or deny decisions until the entry is evicted. The effect is scoped to the shared matcher cache and does not modify Object.prototype. This issue is fixed in version 11.0.10.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 01 Dec 2026 21:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.6 until 11.0.10, minimatch's module-global matcher cache can be poisoned when an options object passed to minimatch() contains an own proto property. In src/index.ts, optionsKey() assigns that property no cache-key weight while copyOptions() copies it into a normal object, changing the copy's prototype, and cachedMinimatch() stores the resulting matcher in the cache slot used by default options. A later independent caller matching the same pattern without options can therefore receive attacker-influenced behavior, such as case-insensitive matching, which can alter security-relevant allow or deny decisions until the entry is evicted. The effect is scoped to the shared matcher cache and does not modify Object.prototype. This issue is fixed in version 11.0.10. | |
| Title | minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache | |
| Weaknesses | CWE-1321 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-12-01T20:37:23.347Z
Reserved: 2026-12-01T20:15:54.921Z
Link: CVE-2026-141514
No data.
Status : Received
Published: 2026-12-01T21:17:11.673
Modified: 2026-12-01T21:17:11.673
Link: CVE-2026-141514
No data.
OpenCVE Enrichment
No data.
Weaknesses