{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.31.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e42e1bfd389af7203238cce77b1f7dad447285e9"
            }
          ],
          "repo": "https://github.com/moby/buildkit",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g2h8-426c-7976"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75593.json"
  },
  "details": "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.",
  "id": "CVE-2026-75593",
  "modified": "2026-09-11T03:31:01.160055786Z",
  "published": "2026-08-19T20:06:54.924Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/moby/buildkit/releases/tag/v0.31.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75593.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-75593"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "BuildKit: Malicious client can bypass destination directory validation on local sources upload"
}