Skip to main content

minimatch EUVDEUVD-2026-140722

| CVE-2026-141514 LOW
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-12-01 GitHub_M
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply untrusted JSON as minimatch options
  2. Delivery
    Smuggle own __proto__ key past cache-key weighting
  3. Exploit
    Poison shared default-options matcher cache slot
  4. Execution
    Bystander caller reuses poisoned matcher for same pattern
  5. Impact
    Flip 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

minimatch 11.0.6, < 11.0.10

Affected Packages

euvd minimatch fix: 11.0.10

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

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 22:03 EUVD
CVE Published
Dec 01, 2026 - 20:37 cve.org
LOW 3.7

DescriptionCVE.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

Prevalence
Ubiquitous
core npm glob utility, transitive dependency of countless JavaScript tools
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy