CVE-2026-33747BuildKit vulnerable to malicious frontend causing file escape outside of storage root
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.
What to do
Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Ubuntu 26.10 | docker.io-app | Fixed | 29.1.3-0ubuntu5 | UBUNTU-CVE-2026-33747 |
| Ubuntu 26.04 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Ubuntu 26.04 | docker.io-app | Fixed | 29.1.3-0ubuntu4.1 | UBUNTU-CVE-2026-33747 |
| Ubuntu 25.10 | docker.io | Will not fix Traditionally the docker.io source package contained both the library and docker application. However, in releases that contain the docker.io-app source… | UBUNTU-CVE-2026-33747 | |
| Ubuntu 25.10 | docker.io-app | Will not fix Traditionally the docker.io source package contained both the library and docker application. However, in releases that contain the docker.io-app source… | UBUNTU-CVE-2026-33747 | |
| Ubuntu 24.04 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Ubuntu 24.04 | docker.io-app | Fixed | 29.1.3-0ubuntu3~24.04.2 | UBUNTU-CVE-2026-33747 |
| Ubuntu 22.04 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Ubuntu 22.04 | docker.io-app | Fixed | 29.1.3-0ubuntu3~22.04.2 | UBUNTU-CVE-2026-33747 |
| Ubuntu 20.04 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Ubuntu 20.04 | docker.io-app | Fix pending | 26.1.3-0ubuntu1~20.04.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-33747 |
| Ubuntu 18.04 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Ubuntu 16.04 | docker.io | Fix pending | UBUNTU-CVE-2026-33747 | |
| Debian 14 | docker.io | Fixed | 28.5.2+dfsg4-3 | DEBIAN-CVE-2026-33747 |
| Debian 13 | docker.io | Fixed | 26.1.5+dfsg1-9+deb13u1 | DEBIAN-CVE-2026-33747 |
| Debian 12 | docker.io | Fix pending | DEBIAN-CVE-2026-33747 | |
| Red Hat Enterprise Linux 10 | buildah | Not affected | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 10 | podman | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-tests | Not affected | ||
| Alpine Linux 3.24 | buildkit | Fixed | 0.29.0-r0 | ALPINE-CVE-2026-33747 |
| Alpine Linux 3.24 | docker | Fixed | 29.3.1-r0 | ALPINE-CVE-2026-33747 |
| Alpine Linux 3.23 | docker | Fixed | 29.3.1-r0 | ALPINE-CVE-2026-33747 |
| Go library | github.com/moby/buildkit | Fixed | 0.28.1 | GO-2026-4858 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- moby buildkit: affected: < 0.28.1
References
- https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj
- https://github.com/moby/buildkit/releases/tag/v0.28.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.