{
  "id": "CVE-2026-27904",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-27904",
  "published_at": "2026-02-26T01:07:42.693Z",
  "title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
  "vendor": "isaacs",
  "product": "minimatch",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.4, nested `*()` extglobs produce regexps with nested unbounded quantifiers (e.g. `(?:(?:a|b)*)*`), which exhibit catastrophic backtracking in V8. With a 12-byte pattern `*(*(*(a|b)))` and an 18-byte non-matching input, `minimatch()` stalls for over 7 seconds. Adding a single nesting level or a few input characters pushes this to minutes. This is the most severe finding: it is triggered by the default `minimatch()` API with no special options, and the minimum viable pattern is only 12 bytes. The same issue affects `+()` extglobs equally. 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.4 fix the issue.",
  "cwe": "CWE-1333",
  "cpes": [
    "cpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "isaacs",
        "product": "minimatch",
        "ranges": [
          "\u003e= 10.0.0, \u003c 10.2.3",
          "\u003e= 9.0.0, \u003c 9.0.7",
          "\u003e= 8.0.0, \u003c 8.0.6",
          "\u003e= 7.0.0, \u003c 7.4.8",
          "\u003e= 6.0.0, \u003c 6.2.2",
          "\u003e= 5.0.0, \u003c 5.1.8",
          "\u003e= 4.0.0, \u003c 4.2.5",
          "\u003c 3.1.4"
        ],
        "fixed_in": [
          "10.2.3",
          "9.0.7",
          "8.0.6",
          "7.4.8",
          "6.2.2",
          "5.1.8",
          "4.2.5",
          "3.1.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade minimatch to 10.2.3 or 9.0.7 or 8.0.6 or 7.4.8 or 6.2.2 or 5.1.8 or 4.2.5 or 3.1.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/isaacs/minimatch/security/advisories/GHSA-23c5-xmqv-rm74"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
