{"cve":"CVE-2026-33747","nvd":{"published":"2026-03-27T01:16:21.330","modified":"2026-06-17T10:38:01.807","status":"Analyzed","description":"BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, when 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. The issue has been fixed in v0.28.1. The vulnerability 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["https://github.com/moby/buildkit/releases/tag/v0.28.1","https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj"],"products":["mobyproject:buildkit"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33747","score":0.00507,"percentile":0.43304,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4c29-8rgm-jvjj","url":"https://osv.dev/vulnerability/GHSA-4c29-8rgm-jvjj","summary":"BuildKit's Malicious frontend can cause file escape outside of storage root","modified":"2026-09-10T03:50:37.172155078Z","packages":[{"ecosystem":"Go","name":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","ranges":["<0.28.1"],"fixed":["0.28.1"]}]},{"id":"GO-2026-4858","url":"https://osv.dev/vulnerability/GO-2026-4858","summary":"BuildKit's Malicious frontend can cause file escape outside of storage root in github.com/moby/buildkit","modified":"2026-03-28T15:59:16.576186Z","packages":[{"ecosystem":"Go","name":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","ranges":["<0.28.1"],"fixed":["0.28.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}