{
  "id": "CVE-2026-75593",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-75593",
  "published_at": "2026-08-19T20:06:54.924Z",
  "title": "BuildKit: Malicious client can bypass destination directory validation on local sources upload",
  "vendor": "moby",
  "product": "buildkit",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA: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 is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.2, a custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access BuildKit control API to issue builds, eg., bypass authentication, etc. This issue is fixed in version 0.31.2.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.2
  },
  "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/moby/buildkit/releases/tag/v0.31.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
