CVEfocus › CVE database › CVE-2026-33747

CVE-2026-33747BuildKit vulnerable to malicious frontend causing file escape outside of storage root

CVSS 8.4 HighEPSS 0.6% (higher than 47% of CVEs)Published 2026-03-27Updated 2026-03-27Assigner: GitHub_M

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.

CWE-22

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

10Fixed
9Fix pending
2Will not fix
6Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10docker.ioFix pendingUBUNTU-CVE-2026-33747
Ubuntu 26.10docker.io-appFixed29.1.3-0ubuntu5UBUNTU-CVE-2026-33747
Ubuntu 26.04docker.ioFix pendingUBUNTU-CVE-2026-33747
Ubuntu 26.04docker.io-appFixed29.1.3-0ubuntu4.1UBUNTU-CVE-2026-33747
Ubuntu 25.10docker.ioWill 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.10docker.io-appWill 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.04docker.ioFix pendingUBUNTU-CVE-2026-33747
Ubuntu 24.04docker.io-appFixed29.1.3-0ubuntu3~24.04.2UBUNTU-CVE-2026-33747
Ubuntu 22.04docker.ioFix pendingUBUNTU-CVE-2026-33747
Ubuntu 22.04docker.io-appFixed29.1.3-0ubuntu3~22.04.2UBUNTU-CVE-2026-33747
Ubuntu 20.04docker.ioFix pendingUBUNTU-CVE-2026-33747
Ubuntu 20.04docker.io-appFix pending26.1.3-0ubuntu1~20.04.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-33747
Ubuntu 18.04docker.ioFix pendingUBUNTU-CVE-2026-33747
Ubuntu 16.04docker.ioFix pendingUBUNTU-CVE-2026-33747
Debian 14docker.ioFixed28.5.2+dfsg4-3DEBIAN-CVE-2026-33747
Debian 13docker.ioFixed26.1.5+dfsg1-9+deb13u1DEBIAN-CVE-2026-33747
Debian 12docker.ioFix pendingDEBIAN-CVE-2026-33747
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Alpine Linux 3.24buildkitFixed0.29.0-r0ALPINE-CVE-2026-33747
Alpine Linux 3.24dockerFixed29.3.1-r0ALPINE-CVE-2026-33747
Alpine Linux 3.23dockerFixed29.3.1-r0ALPINE-CVE-2026-33747
Go librarygithub.com/moby/buildkitFixed0.28.1GO-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.

References

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.