{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.0.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "838c9d791cbd0e7c92e858f71ae38f6597416c09"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "6bb40679c218cefba5d4e9662408c5fdf699a8bb"
            },
            {
              "fixed": "838c9d791cbd0e7c92e858f71ae38f6597416c09"
            }
          ],
          "repo": "https://github.com/micromatch/picomatch",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-185"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138148.json"
  },
  "details": "picomatch through 4.0.7 contains a glob filter bypass vulnerability because globstar (**) patterns are compiled without the dotAll flag and fail to match line terminators. Attackers who control file, object key or archive entry names containing newline characters can evade ** deny patterns, causing excluded resources to be included and exposed.",
  "id": "CVE-2026-138148",
  "modified": "2026-11-28T02:45:38.485736940Z",
  "published": "2026-11-28T01:43:02.586Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138148.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/micromatch/picomatch"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397"
    },
    {
      "type": "FIX",
      "url": "https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09"
    },
    {
      "type": "FIX",
      "url": "https://github.com/micromatch/picomatch/pull/202"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138148"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators"
}