CVE-2026-33747
ADVISORY - githubSummary
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.
Common Weakness Enumeration (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
NIST
2.5
CVSS SCORE
8.4highGitHub
2.5
CVSS SCORE
8.4highAlpine
-
GoLang
-
Red Hat
1.5
CVSS SCORE
8.2mediumChainguard
CGA-24vx-jj57-3w5c
-
minimos
MINI-427q-22x5-mfwm
-
minimos
MINI-f8x5-56mj-xwwv
-
minimos
MINI-fjrv-387j-xgw9
-
minimos
MINI-j6rw-fvvw-hjq8
-
minimos
MINI-m27m-qj45-53qg
-
minimos
MINI-m8wj-h3vw-7vxh
-
minimos
MINI-mp4m-q48h-p7vc
-
minimos
MINI-mw6c-cjq6-hpmf
-
minimos
MINI-qm96-2mqx-8rgc
-
minimos
MINI-v9fm-7376-2r46
-