CVE-2026-141514
LOW 3.7CVSS 3.1minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache
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.
- Published
- 1 Dec 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-1321
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | isaacs | minimatch | = >= 11.0.6, < 11.0.10 |
References
- https://github.com/isaacs/minimatch/commit/1c1198638b1df8fa0d688b55380bbfbe59fee908 · x_refsource_MISC
- https://github.com/isaacs/minimatch/security/advisories/GHSA-3924-r96c-gp9w · x_refsource_CONFIRM
History
- 1 Dec 2026 23:34 UTC · NVD: 1 reference added
- 1 Dec 2026 22:45 UTC · CVE List: updated (other details)
- 1 Dec 2026 21:37 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 20:55 UTC · CVE List: first stored (published 1 Dec 2026)