github.com/moby/buildkit
Affected
- introduced
0, fixed0.28.1(semver)
Fixed versions
0.28.1
Fix
- Fixed version
0.28.1go get github.com/moby/[email protected]
Advisory
Also known as: CVE-2026-33747, GO-2026-4858
BuildKit's Malicious frontend can cause file escape outside of storage root
Impact
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.
Patches
The issue has been fixed in v0.28.1+
Workarounds
Issue 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.
High Basis: The source's own band: HIGH
0, fixed 0.28.1 (semver)0.28.1
0.28.1go get github.com/moby/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0