{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.4.0"
                  },
                  {
                    "fixed": "11.0.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "784603e09641970d2ba2caf8c73a95d1015cc67d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "f19f6ab371448d0e819129d40b66745a7b6ba7c8"
            },
            {
              "fixed": "35c928bb604f2a93fb8ee06bb8db5accefc3facb"
            },
            {
              "fixed": "784603e09641970d2ba2caf8c73a95d1015cc67d"
            }
          ],
          "repo": "https://github.com/isaacs/minimatch",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c859-jr93-m5j4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-116"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140006.json"
  },
  "details": "minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8, minimatch.escape() can produce patterns that do not exclusively match the supplied literal input: leading ! can become negation, leading # can become a comment, braceExpand() can collapse an escaped backslash and reactivate a following magic character when an expanded brace group is present and the installed brace-expansion release has the affected behavior (2.x or 5.0.4 through 5.0.12), and windowsPathsNoEscape combined with magicalBraces can leave braces active. Applications that escape attacker-controlled text and then use the result as an authorization, filtering, or path-selection pattern may match unintended strings or fail to match the intended literal. This issue is fixed in version 11.0.8.",
  "id": "CVE-2026-140006",
  "modified": "2026-11-30T22:45:28.959297995Z",
  "published": "2026-11-30T21:31:29.712Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140006.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/isaacs/minimatch/commit/784603e09641970d2ba2caf8c73a95d1015cc67d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-140006"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "minimatch: minimatch.escape() output matches more or less than the literal input"
}