CVE-2026-27903
CVSS v3
7.5
HIGH
EPSS Score
0.6 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for minimatch.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- minimatchnpmall versions · fixed in 3.1.3
Vendor advisories
minimatch: minimatch: Denial of Service due to unbounded recursive backtracking via crafted glob patterns
io.cryostat-cryostat as a component of Cryostat 4 · gatekeeper/gatekeeper-rhel9 as a component of Gatekeeper 3 · openshift-logging/cluster-logging-operator-bundle as a component of Logging Subsystem for Red Hat OpenShift
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
Description
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-02-26
- Last Modified
- 2026-02-27
Frequently asked questions
What is CVE-2026-27903?
Is CVE-2026-27903 actively exploited?
What is the CVSS score for CVE-2026-27903?
Running minimatch? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2016-10540same product
- CVE-2026-26996same productminimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
- CVE-2026-27904same productminimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
- CVE-2025-47911same advisory
- CVE-2025-52881same advisory
- CVE-2026-23831same advisory
- CVE-2025-22870same advisory
- CVE-2026-24117same advisory