CVE-2026-27903
Reported by github_m · Published February 26, 2026
minimatch is fixed in 10.2.3, 9.0.7, 8.0.6 and 5 more (npm)
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, `matchOne()` performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent `**` (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where `n` is the number of path segments and `k` is the number of globstars. With k=11 and n=30, a call to the default `minimatch()` API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to `minimatch()` is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| minimatch | npm | 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, 3.1.3 |
| gitlab-rails-ce-fips-19.0 | Chainguard | 19.0.9-r3 |
| opensearch-dashboards-2 | Chainguard | 2.19.4-r15 |
| opensearch-dashboards-3 | Wolfi | 3.5.0-r6 |
| serve | Chainguard | 14.2.6-r0 |
| pnpm-stage0 | Wolfi | 8.7.4-r5 |
| kibana-8.19 | Chainguard | 8.19.12-r2 |
| lerna | Chainguard | 9.0.5-r1 |
| py3-jupyterlab | Chainguard | 4.6.1-r1 |
| argo-workflows-4.0 | Wolfi | 4.0.4-r6 |
| npm | Wolfi | 11.11.0-r1 |
| code-server | Wolfi | 4.109.2-r0 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| isaacs | minimatch | >= 10.0.0, < 10.2.3, >= 9.0.0, < 9.0.7, >= 8.0.0, < 8.0.6 |
| chainguard | gitlab-rails-ce-fips-19.0 | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
| wolfi | opensearch-dashboards-3 | 0 |
| chainguard | serve | 0 |
| wolfi | pnpm-stage0 | 0 |
| chainguard | kibana-8.19 | 0 |
| chainguard | lerna | 0 |
| chainguard | tensorflow-gpu-jupyter | * |
| chainguard | py3-jupyterlab | 0 |
| wolfi | argo-workflows-4.0 | 0 |
| wolfi | npm | 0 |
| wolfi | code-server | 0 |
| chainguard | authentik-2026.2 | 0 |
| chainguard | bash-language-server | 0 |
| wolfi | prism | 0 |
| chainguard | saf | 0 |
| wolfi | lerna | 0 |
| isaacs | minimatch | 9.0.0, 8.0.0, 7.0.0 |
…and 70 more
Timeline
- Feb 26, 2026 CVE Published
- Feb 26, 2026 EPSS Score (30 in total, the first dated here)
- Feb 26, 2026 CVE Updated
- Mar 9, 2026 Security Advisory (45 in total, the first dated here)
- Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (44 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-27903
vulnetix vdb fixes CVE-2026-27903
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-27903/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/isaacs/minimatch/security/advisories/GHSA-7r86-cg39-jmmj x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-27903 advisory
- https://github.com/advisories/GHSA-7r86-cg39-jmmj advisory
- https://github.com/isaacs/minimatch/commit/0bf499aa45f5059b56809cc3b75ff3eafeb8d748 patch
- https://github.com/isaacs/minimatch url