Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply untrusted JSON as minimatch options
-
DeliverySmuggle own __proto__ key past cache-key weighting
-
ExploitPoison shared default-options matcher cache slot
-
ExecutionBystander caller reuses poisoned matcher for same pattern
-
ImpactFlip security-relevant allow/deny match decision
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a deployment of minimatch 11.0.6-11.0.9 where the application (1) constructs the options object from attacker-controlled/untrusted input (e.g. JSON.parse of external data) so that an own '__proto__' property can be present, (2) passes that object to the module-level minimatch() function (which uses the process-global shared matcher cache), and (3) relies on that same process-global default cache to make security-relevant pattern decisions such as allow/deny lists or package-name filters. Limiting factors that reduce realistic risk: the attacker must influence the options of at least one call AND a trusted caller must later match the SAME pattern string with default options before the cache entry is evicted; the effect is only a single boolean match flip (e.g. default case-sensitive matching becomes case-insensitive), not RCE or data disclosure; Object.prototype itself is never modified; and callers that construct their own Minimatch instance or always pass explicit options are not affected in the same way. Non-default usage (building options from untrusted JSON and depending on the global cache for authorization) is what makes it exploitable. |
| Impact | All signals point to a low-urgency, low-severity issue despite the product's enormous reach. The CVSS 3.1 base score is 3.7 (Low) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N: network-reachable in principle, no privileges or user interaction, but high attack complexity and only a Low integrity impact with no confidentiality or availability effect. The SSVC framework agrees - Exploitation: poc (a proof of concept exists but no confirmed in-the-wild use), Automatable: no (the attacker cannot reliably mass-exploit because success depends on a victim application's specific use of the shared cache and matching pattern strings), Technical Impact: partial (a single boolean match-outcome flip, not system takeover). The vuln.today Decision label is 'monitor,' consistent with a patch-during-normal-maintenance posture rather than an emergency. This is NOT in CISA KEV (no confirmed active exploitation) and NO EPSS score was provided in the input, so real-world exploitation probability cannot be quantified here. The one tension in the metadata is the 'Information Disclosure' tag, which the vendor advisory directly contradicts - it states the flaw is 'not remote code execution and not data disclosure,' only an integrity-affecting match flip. Bottom line: a genuinely low real-world risk that is high-interest only because minimatch is so widely deployed; prioritize patching by dependency hygiene, not by emergency. |
| Exploit ScenarioDerived | An application parses untrusted JSON into an options object and passes it to minimatch() to evaluate a security-relevant allow/deny or filename filter. The attacker supplies {"__proto__":{"nocase":true}}, which optionsKey() weights as zero while copyOptions() re-parents the copy onto that prototype, so the resulting case-insensitive matcher is cached under the default (no-options) cache slot for that pattern; a later, fully-trusted caller matching the same pattern string with no options then silently receives the poisoned, case-insensitive matcher and makes a flipped decision. A public PoC reference exists in the GHSA advisory; it is not verified as standalone working exploit code. Attack complexity is High (AC:H) because the attacker needs a shared pattern string and must hit the global cache before eviction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Cache poisoning in the npm minimatch library 11.0.6 through 11.0.9 lets an unauthenticated attacker who controls an options object flip the case-sensitivity of a matcher held in the process-global matcher cache, so a later, unrelated caller matching the same pattern string with default options receives an incorrect match result that can alter allow or deny decisions. The issue is published as GHSA-3924-r96c-gp9w and a proof-of-concept demonstrating the poisoned lookup is included in that advisory; it is not listed in CISA KEV and no EPSS score was supplied, and the CVSS 3.1 base score is 3.7 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N), reflecting an integrity-only, single-boolean impact scoped to the shared cache with no effect on Object.prototype. Realistic exposure is limited to deployments that build minimatch options from untrusted JSON and rely on the module-level default cache for security-relevant pattern matching.
RemediationAI
Vendor-released patch: upgrade minimatch to 11.0.10 or later, which is the only complete fix - the advisory (https://github.com/isaacs/minimatch/security/advisories/GHSA-3924-r96c-gp9w) and commit https://github.com/isaacs/minimatch/commit/1c1198638b1df8fa0d688b55380bbfbe59fee908 make copyOptions() produce a null-prototype copy that treats '__proto__' as a plain key and key option-less calls through a shared noOptions sentinel. Where upgrading is not immediately possible, the practical compensations are to strip or reject any '__proto__' own property from options objects before they reach minimatch (for example by rebuilding them with Object.create(null) plus an explicit key filter, or by using a JSON.parse reviver), and to stop sourcing minimatch options directly from untrusted JSON; both require touching every call path that could carry attacker-influenced options, and a missed path re-opens the issue, so they are stopgaps rather than a fix. A further containment is to move security-relevant allow/deny and package-name filtering off the module-global default cache onto explicitly constructed Minimatch instances or calls that always pass explicit options, which sidesteps the poisoned lookup slot but requires auditing and changing the affected decision logic, and consumers who never build options from untrusted input are not exposed in the first place. Per the supplied decision signals (monitor, SSVC exploitation poc, no KEV entry) remediation can be scheduled through normal dependency-update cadence rather than treated as an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
minimatch converts glob expressions into JavaScript RegExp objects and is one of the most widely depended-on npm packages (CPE cpe:2.3:a:isaacs:minimatch). The defect lives in src/index.ts and maps to CWE-1321 (improperly controlled modification of object prototype attributes, the prototype pollution class), although the realized impact is cache poisoning rather than global prototype pollution: two helper functions fail to special-case the __proto__ key. optionsKey() has no case for '__proto__' and therefore assigns it a cache-key weight of 0, the same weight as passing no options at all, while copyOptions() copies with a plain for...in assignment instead of Object.defineProperty, so a '__proto__' key runs the real prototype setter and re-parents the copy onto the attacker-supplied object rather than landing as an own key. cachedMinimatch() then stores the resulting Minimatch instance under the key optionsKey() returned, which is the same slot a later option-less call for the same pattern string will look up, so the poisoned matcher (for example one with nocase:true) is served to a bystander caller until the entry is evicted. Object.prototype is never modified, which distinguishes this from classic prototype pollution; the fixed commit 1c1198638b1df8fa0d688b55380bbfbe59fee908 makes copyOptions() build a null-prototype object and skip '__proto__', and introduces a shared noOptions sentinel so option-less calls key consistently. The trigger requires an application path that feeds attacker-influenced options into the module-level minimatch() function; callers that construct their own Minimatch instance or always pass explicit options are not affected in the same way, and SSVC rates exploitation as poc with automatable: no and technical impact: partial.
Know when Minimatch gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
AC:H because success needs a shared pattern string and a cache-timing window before eviction; PR:N/UI:N as a bystander caller is affected with no auth; only a low integrity match-outcome flip, so C:N/I:L/A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Minimatch versions before 3.1.3 through 10.2.3 suffer from catastrophic backtracking in glob pattern matching when proce
Minimatch versions prior to 10.2.3 (and earlier affected versions) suffer from ReDoS vulnerabilities in nested extglob p
Minimatch versions 10.2.0 and below suffer from catastrophic backtracking in regular expression processing when glob pat
A vulnerability was found in the minimatch package. Rated high severity (CVSS 7.5), this vulnerability is remotely explo
EUVD-2026-140722
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB