minimatch vulnerabilities

a glob matcher in javascript

Registry
npm
Latest
11.0.8
License
BlueOak-1.0.0

6 known advisories

The latest version, 11.0.8, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install minimatch@11.0.8

Is your project on an affected minimatch?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for minimatch

  • MediumCVE-2026-118764GHSA-g3hv-75wg-m24930 Oct 2026

    minimatch has potential denial of service via globparts amplification

    Affected
    >=7.0.0 <11.0.1
    Fixed in
    11.0.1
  • HighCVE-2026-27903GHSA-7r86-cg39-jmmj26 Feb 2026

    minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments

    Affected
    >=10.0.0 <10.2.3 · >=9.0.0 <9.0.7 · >=8.0.0 <8.0.6 · >=7.0.0 <7.4.8 · >=6.0.0 <6.2.2 · >=5.0.0 <5.1.8 · >=4.0.0 <4.2.5 · <3.1.3
    Fixed in
    3.1.3, 4.2.5, 5.1.8, 6.2.2, 7.4.8, 8.0.6, 9.0.7, 10.2.3
  • HighCVE-2026-27904GHSA-23c5-xmqv-rm7426 Feb 2026

    minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions

    Affected
    >=10.0.0 <10.2.3 · >=9.0.0 <9.0.7 · >=8.0.0 <8.0.6 · >=7.0.0 <7.4.8 · >=6.0.0 <6.2.2 · >=5.0.0 <5.1.8 · >=4.0.0 <4.2.5 · <3.1.4
    Fixed in
    3.1.4, 4.2.5, 5.1.8, 6.2.2, 7.4.8, 8.0.6, 9.0.7, 10.2.3
  • HighCVE-2026-26996GHSA-3ppc-4f35-3m2618 Feb 2026

    minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern

    Affected
    >=10.0.0 <10.2.1 · >=9.0.0 <9.0.6 · >=8.0.0 <8.0.5 · >=7.0.0 <7.4.7 · >=6.0.0 <6.2.1 · >=5.0.0 <5.1.7 · >=4.0.0 <4.2.4 · <3.1.3
    Fixed in
    3.1.3, 4.2.4, 5.1.7, 6.2.1, 7.4.7, 8.0.5, 9.0.6, 10.2.1
  • HighCVE-2022-3517GHSA-f8q6-p94x-37v318 Oct 2022

    minimatch ReDoS vulnerability

    Affected
    <3.0.5
    Fixed in
    3.0.5
  • HighCVE-2016-10540GHSA-hxm2-r34f-qmc59 Oct 2018

    Regular Expression Denial of Service in minimatch

    Affected
    <3.0.2
    Fixed in
    3.0.2

Is your minimatch version vulnerable?

Which of your client projects still run an old minimatch?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.