CVE-2026-33747: BuildKit vulnerable to malicious frontend causing file escape outside of storage root
Vulnerability summary
CVE-2026-33747 is a critical (CVSS 9.8) vulnerability in moby buildkit. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 43.3% of scored vulnerabilities.
Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 7Timeline
- 27-03-2026PublishedVulnerability first disclosed.
- 27-03-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 8 sources · 1 version- CVE.orgCNA8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
Decrease -0.08 pp
From 0.58% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard51 products
- buildah< 1.44.0-r0
- buildah-fips< 1.44.0-r0
- cloudbeat-8.17All versions (No fix recorded)
- cloudbeat-8.18All versions (No fix recorded)
- cloudbeat-8.19< 8.19.13-r2
Wolfi18 products
- buildah< 1.44.0-r0
- conftest< 0.67.1-r2
- docker-cli-buildx< 0.32.1-r3
- docker-compose< 5.1.1-r1
- dockerd-28All versions (No fix recorded)
Opensuse3 products
- conftest&distro=openSUSE Tumbleweed< 0.67.1-2.1
- tailscale&distro=openSUSE Leap 16.0< 1.104.1-bp160.1.1
- tailscale&distro=openSUSE Tumbleweed< 1.96.4-1.1
Alpine2 products
- buildkit< 0.29.0-r0
- docker< 29.3.1-r0
Ubuntu2 products
- docker.ioAll versions (No fix recorded)
- docker.io-app< 26.1.3-0ubuntu1~20.04.1+esm2 | < 29.1.3-0ubuntu3~22.04.2 | < 29.1.3-0ubuntu3~24.04.2 | All versions (No fix recorded) | < 29.1.3-0ubuntu5 | < 29.1.3-0ubuntu4.1
Debian1 product
- docker.ioAll versions (No fix recorded) | < 26.1.5+dfsg1-9+deb13u1 | < 28.5.2+dfsg4-3
Github.com/moby1 product
- buildkit< 0.28.1
Moby1 product
- buildkit< 0.28.1
Mobyproject1 product
- buildkit< 0.28.1
9 vendors · 80 products
References
13 links- github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjjX Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/moby/buildkitPACKAGE