Is minimatch 9.0.4 vulnerable?
minimatch 9.0.4, a JavaScript package on npm. All 4 versions we track · npm page
Upgrade minimatch from 9.0.4 to 11.0.1 or later; that fixes all of them.
Known vulnerabilities in minimatch 9.0.4
-
High
CVSS 7.5
CVE-2026-27904: minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
GHSA-23c5-xmqv-rm74 · published 26 Feb 2026 · fixed in 9.0.7
-
High
CVE-2026-26996: minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
GHSA-3ppc-4f35-3m26 · published 18 Feb 2026 · fixed in 9.0.6
-
High
CVSS 7.5
CVE-2026-27903: minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
GHSA-7r86-cg39-jmmj · published 26 Feb 2026 · fixed in 9.0.7
-
Medium
CVE-2026-118764: minimatch has potential denial of service via globparts amplification
GHSA-g3hv-75wg-m249 · published 30 Oct 2026 · fixed in 11.0.1
How to fix it
With package-lock.json:
npm install minimatch@11.0.1
# if it is an indirect dependency: npm update minimatch (or npm audit fix)
- If it is an indirect dependency, upgrade the package that depends on it, or force the version with "overrides" (npm), "resolutions" (Yarn) or "pnpm.overrides" (pnpm) in package.json.
- Check the package's changelog for breaking changes (especially across major versions), update the lockfile with the package manager (never by hand), and run your tests.
Other versions of minimatch
Newest version we track without known advisories: 11.0.9.
Licence
minimatch 9.0.4 declares ISC .
Check your whole project
minimatch is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.
Get emailed about new advisories for minimatch (free, no account)
About this data
Vulnerability data: OSV.dev, last checked 22 November 2026. Licence: deps.dev. AIssue checks the versions on this page every day. Severity comes from the advisory's own rating when it has one, else from its CVSS score.