minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher CacheGHSA-3924-r96c-gp9w
LOWFix: isaacs/minimatch@1c11986GHSA-3924-r96c-gp9w is a low-severity (CVSS 3.7) CWE-1321 vulnerability. A fix is available — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-3924-r96c-gp9w.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
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.
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for GHSA-3924-r96c-gp9w, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw is rated as Low severity because successful exploitation requires specific conditions where an application passes attacker-influenced options objects to the matching utility, resulting only in limited integrity impact. In Red Hat environments, minimatch is primarily utilized as a build-time or backend…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for GHSA-3924-r96c-gp9w (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Hardened Images | nodejs24-main-24.22.3-1.hum1 | RHSA-2026:101210 |
| Red Hat Hardened Images | grafana13-2-main-13.2.6-0.1.hum1 | RHSA-2026:102287 |
| Red Hat Hardened Images | prometheus3-14-main-3.14.0-0.1.hum1 | RHSA-2026:104842 |
| Red Hat Hardened Images | grafana-jaeger-datasource-main-13.0.8-0.1.hum1 | RHSA-2026:105102 |
| Red Hat Hardened Images | grafana-loki-datasource-main-13.2.5-0.1.hum1 | RHSA-2026:105104 |
| Red Hat Hardened Images | grafana-prometheus-datasource-main-13.3.0-0.1.hum1 | RHSA-2026:105105 |
| Red Hat Hardened Images | grafana-mysql-datasource-main-13.1.4-0.1.hum1 | RHSA-2026:105106 |
| Red Hat Hardened Images | grafana-postgresql-datasource-main-13.0.7-0.1.hum1 | RHSA-2026:105110 |
Frequently Asked Questions
Is GHSA-3924-r96c-gp9w in your dependencies?
Find it across your dependency tree, including transitive dependencies.