Skip to main content
VulnerabilityPublished

CVE-2026-27903: isaacs minimatch · Inefficient Algorithmic Complexity

Affects isaacs minimatchSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 10.2.3 : patch isaacs minimatch soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.2.3, 9.0.7, 8.0.6 +5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
isaacsminimatchAffected
  • >=10.0.0 <10.2.3
Fixed in
  • 10.2.3
isaacsminimatchAffected
  • >=9.0.0 <9.0.7
Fixed in
  • 9.0.7
isaacsminimatchAffected
  • >=8.0.0 <8.0.6
Fixed in
  • 8.0.6
isaacsminimatchAffected
  • >=7.0.0 <7.4.8
Fixed in
  • 7.4.8
isaacsminimatchAffected
  • >=6.0.0 <6.2.2
Fixed in
  • 6.2.2
isaacsminimatchAffected
  • >=5.0.0 <5.1.8
Fixed in
  • 5.1.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-27903, organizations should immediately upgrade all instances of the minimatch library to the fixed versions: 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, or 3.1.3 or later. Review and audit all build tools, task runners, CI/CD pipelines, and multi-tenant systems to identify where user-supplied glob patterns are accepted and processed. Implement input validation and sanitization to restrict or reject glob patterns containing multiple non-adjacent GLOBSTAR segments or overly complex patterns that could trigger exponential backtracking. Where feasible, isolate glob pattern processing in separate processes or containers to limit impact on critical services. Monitor application performance and logs for unusual delays or stalls indicative of exploitation attempts. Consider implementing rate limiting or throttling on interfaces accepting glob patterns to reduce attack surface. Engage with upstream tool maintainers to ensure dependencies are updated and patched. Finally, educate developers and administrators about the risks of accepting untrusted glob patterns and encourage secure configuration practices.

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.

References

Community reviews

Loading reviews…