{"id":"CVE-2026-75593","aliases":["CVE-2026-75593"],"related":[],"kind":"vulnerability","state":"published","title":"BuildKit: Malicious client can bypass destination directory validation on local sources upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-19T20:06:54.924Z","modified":"2026-09-09T21:15:59.613Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.2,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 0.31.2","status":"affected"}],"vendor":"moby","product":"buildkit","source":"cvelist"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.31.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-08-25T14:02:16.589Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-75593","url":"https://www.cve.org/CVERecord?id=CVE-2026-75593","licence":"CVE Terms of Use","modified":"2026-08-25T14:02:29.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-75593","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75593","licence":"Public domain","modified":"2026-09-09T21:15:59.613Z"}],"updatedAt":"2026-11-25T22:59:34.202Z","epss":{"score":0.00541,"percentile":0.46916,"date":"2026-12-01T12:00:22.000Z"}}