CVE-2026-33747
BuildKit vulnerable to malicious frontend causing file escape outside of storage root
Reported by github_m · Published March 27, 2026
github.com/moby/buildkit is fixed in 0.28.1 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/moby/buildkit | Go Modules | 0.28.1 |
| cloudbeat-9.3 | Chainguard | 9.3.2-r1 |
| trivy-operator | Wolfi | 0.30.1-r4 |
| scorecard | Wolfi | 5.4.0-r15 |
| kubescape | Wolfi | 4.0.5-r0 |
| kubescape-server-fips | Chainguard | 4.0.3-r2 |
| docker-cli-buildx | Wolfi | 0.32.1-r3 |
| kubescape-server | Chainguard | 4.0.3-r2 |
| guac | Chainguard | 1.1.0-r2 |
| podman | Chainguard | 6.0.0-r0 |
| cloudbeat-fips-9.2 | Chainguard | 9.2.7-r3 |
| docker-cli-buildx-fips | Chainguard | 0.32.1-r3 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| moby | buildkit | < 0.28.1 |
| chainguard | cloudbeat-9.3 | 0 |
| chainguard | podman-fips-5.8 | * |
| wolfi | trivy-operator | 0 |
| wolfi | scorecard | 0 |
| wolfi | kubescape | 0 |
| chainguard | kubescape-server-fips | 0 |
| wolfi | docker-cli-buildx | 0 |
| chainguard | kubescape-server | 0 |
| chainguard | guac | 0 |
| chainguard | podman | 0 |
| chainguard | cloudbeat-fips-9.2 | 0 |
| chainguard | docker-cli-buildx-fips | 0 |
| chainguard | cloudbeat-fips-9.3 | 0 |
| moby | buildkit | 0 |
| wolfi | podman | 0 |
| wolfi | trivy | 0 |
| chainguard | skaffold-fips | 0 |
| chainguard | livekit-cli | 0 |
| wolfi | kaniko | 0 |
…and 33 more
Timeline
- Mar 25, 2026 CVE Published
- Mar 27, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 27, 2026 PoC Published (6 in total, the first dated here)
- Mar 28, 2026 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Security Advisory (21 in total, the first dated here)
- Apr 1, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (14 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-33747
vulnetix vdb fixes CVE-2026-33747
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-33747/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj x_refsource_CONFIRM
- https://github.com/moby/buildkit/releases/tag/v0.28.1 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-33747 advisory
- https://github.com/advisories/GHSA-4c29-8rgm-jvjj advisory
- https://github.com/moby/buildkit url