Skip to main content
CVE-2026-27903VulnerabilityPublished Updated

Node minimatch: 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

Affects node-minimatchSource GCVE Database

0
Compare
Authoritative record:CVE-2026-27903· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-minimatchpkg:deb/ubuntu/node-minimatch?arch=source&distro=stonkingOther threatsAffected
  • =9.0.3-6
  • =9.0.7-1
Fixed in–
Ubuntu 26.04 LTSnode-minimatchpkg:deb/ubuntu/node-minimatch?arch=source&distro=resoluteOther threatsAffected
  • =9.0.3-6
Fixed in–
Ubuntu 25.10node-minimatchpkg:deb/ubuntu/node-minimatch?arch=source&distro=questingOther threatsAffected
  • =9.0.3-5
  • =9.0.3-6
Fixed in–
Ubuntu 24.04 LTSnode-minimatchpkg:deb/ubuntu/node-minimatch?arch=source&distro=nobleOther threatsAffected
  • =5.1.1+~5.1.2-1
  • =9.0.3-4build5
Fixed in–
Ubuntu 22.04 LTSnode-minimatchpkg:deb/ubuntu/node-minimatch?arch=source&distro=jammyOther threatsAffected
  • =3.0.4+~3.0.3-1
  • =3.0.4+~3.0.5-1
  • =3.1.1+~3.0.5-1
Fixed in–
Ubuntu 20.04 LTSnode-minimatchpkg:deb/ubuntu/node-minimatch?arch=source&distro=focalOther threatsAffected
  • =3.0.4-3
  • =3.0.4-4
  • =3.0.4-4ubuntu0.1
Fixed in–

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

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…