cve.bz

CVE-2026-141514 minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache

3.7 low

Low (3.7) in isaacs minimatch.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-141514 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-141514?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-141514?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-141514 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
isaacs minimatch>= 11.0.6, < 11.0.10

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON