{
  "id": "CVE-2026-15788",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-15788",
  "published_at": "2026-07-20T19:12:56.386Z",
  "title": "WCOW cache mount source selector resolves NTFS junctions outside of cache root",
  "vendor": "moby",
  "product": "BuildKit",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "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": "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.",
  "cwe": "CWE-59",
  "cpes": [
    "cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.6,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "moby",
        "product": "BuildKit",
        "ranges": [
          "\u003c 0.31.2"
        ],
        "fixed_in": [
          "0.31.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade BuildKit to 0.31.2 or later."
    ],
    "workarounds": [
      "Use trusted build sources."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/moby/buildkit/security/advisories/GHSA-388v-wmr2-g2v2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
