Path traversal in BuildKit - CVE-2026-33747
Published: April 28, 2026
BuildKit
Moby project
Description
The vulnerability allows a remote attacker to write files outside of the BuildKit state directory.
The vulnerability exists due to improper path restriction in custom BuildKit frontend API message handling when processing a crafted API message from a custom frontend. A remote attacker can craft an API message to write files outside of the BuildKit state directory.
Exploitation requires use of an untrusted custom frontend configured with #syntax or --build-arg BUILDKIT_SYNTAX.