{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.31.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e42e1bfd389af7203238cce77b1f7dad447285e9"
            }
          ],
          "repo": "https://github.com/moby/buildkit",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-388v-wmr2-g2v2"
  ],
  "database_specific": {
    "cna_assigner": "Docker",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15788.json"
  },
  "details": "BuildKit's cache mount source= selector on Windows Container on Windows (WCOW) workers does not detect NTFS directory junctions placed inside the cache root. A build authored by an untrusted user on a WCOW-configured BuildKit daemon can read arbitrary host files reachable to the BuildKit daemon process.",
  "id": "CVE-2026-15788",
  "modified": "2026-07-23T03:56:20.579422779Z",
  "published": "2026-07-20T19:12:56.386Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15788.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/moby/buildkit/security/advisories/GHSA-388v-wmr2-g2v2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-15788"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "WCOW cache mount source selector resolves NTFS junctions outside of cache root"
}