{"schema_version":"1.7.5","id":"GHSA-4c29-8rgm-jvjj","published":"2026-03-26T18:26:09Z","modified":"2026-03-27T21:48:05.831094Z","aliases":["CVE-2026-33747","GO-2026-4858"],"related":["CGA-24vx-jj57-3w5c"],"summary":"BuildKit's Malicious frontend can cause file escape outside of storage root","details":"### Impact\nWhen using a custom BuildKit frontend, the frontend can craft an API message that causes files to be written outside of the BuildKit state directory for the execution context.\n\n### Patches\nThe issue has been fixed in v0.28.1+\n\n### Workarounds\nIssue requires using an untrusted BuildKit frontend set with `#syntax` or `--build-arg BUILDKIT_SYNTAX`. Using these options with a well-known frontend image like `docker/dockerfile` is not affected.","affected":[{"package":{"name":"github.com/moby/buildkit","ecosystem":"Go","purl":"pkg:golang/github.com/moby/buildkit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4c29-8rgm-jvjj/GHSA-4c29-8rgm-jvjj.json"}}],"references":[{"type":"WEB","url":"https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33747"},{"type":"PACKAGE","url":"https://github.com/moby/buildkit"},{"type":"WEB","url":"https://github.com/moby/buildkit/releases/tag/v0.28.1"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2026-03-26T18:26:09Z","nvd_published_at":"2026-03-27T01:16:21Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}