Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-141514 EUVD-2026-140722

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

Published Dec 1, 2026 · Updated Dec 1, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
isaacs minimatch >= 11.0.6, < 11.0.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-minimatch No fix yet —
Ubuntu 26.04 LTS node-minimatch No fix yet —
Ubuntu 24.04 LTS node-minimatch No fix yet —
Ubuntu 22.04 LTS node-minimatch No fix yet —
Ubuntu 20.04 LTS node-minimatch No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-minimatch No fix yet —
Ubuntu Pro 16.04 LTS node-minimatch No fix yet —
Ubuntu Pro 14.04 LTS node-minimatch No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana-cloudmonitoring-datasource 12.6.7-0.1.hum1 RHSA-2026:105210
Red Hat Hardened Images 1 grafana-elasticsearch-datasource 12.9.7-0.1.hum1 RHSA-2026:105165
Red Hat Hardened Images 1 grafana-influxdb-datasource 13.2.0-0.1.hum1 RHSA-2026:105226
Red Hat Hardened Images 1 grafana-jaeger-datasource +1 13.0.8-0.1.hum1 RHSA-2026:105163, RHSA-2026:105102
Red Hat Hardened Images 1 grafana-loki-datasource 13.2.5-0.1.hum1 RHSA-2026:105104
Red Hat Hardened Images 1 grafana-mssql-datasource +1 13.0.10-0.1.hum1 RHSA-2026:105217, RHSA-2026:105213
Red Hat Hardened Images 1 grafana-mysql-datasource 13.1.4-0.1.hum1 RHSA-2026:105106
Red Hat Hardened Images 1 grafana-postgresql-datasource 13.0.7-0.1.hum1 RHSA-2026:105110
Red Hat Hardened Images 1 grafana-prometheus-datasource 13.3.0-0.1.hum1 RHSA-2026:105105
Red Hat Hardened Images 1 grafana-tempo-datasource 13.5.1-0.1.hum1 RHSA-2026:106077
Red Hat Hardened Images 1 grafana-zipkin-datasource 12.4.13-0.1.hum1 RHSA-2026:105144
Red Hat Hardened Images 1 grafana12.4 12.4.16-0.2.hum1 RHSA-2026:106246
Red Hat Hardened Images 1 grafana13.1 13.1.11-0.2.hum1 RHSA-2026:106318
Red Hat Hardened Images 1 grafana13.2 13.2.6-0.1.hum1 RHSA-2026:102287
Red Hat Hardened Images 1 nodejs24 +5 1:24.22.3-1.hum1 RHSA-2026:101210
Red Hat Hardened Images 1 prometheus3.14 3.14.0-0.1.hum1 RHSA-2026:104842

Advisories 18

References