VDB

CVE-2026-33748

CVE-2026-33748 PUBLISHED CVSS 8.2 HIGH

BuildKit Git URL subdir component can cause access to restricted files

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, insufficient validation of Git URL fragment subdir components may allow access to files outside the checked-out Git repository root. Possible access is limited to files on the same mounted filesystem. The issue has been fixed in version v0.28.1 The issue affects only builds that use Git URLs with a subpath component. As a workaround, avoid building Dockerfiles from untrusted sources or using the subdir component from an untrusted Git repository where the subdir component could point to a symlink.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/moby/buildkitGo Modules0.28.1
docker-cli-buildx-fipsChainguard0.32.1-r3
buildah-fipsChainguard1.44.0-r0
conftestWolfi0.67.1-r2
zotChainguard2.1.15-r4
docker-fips-29Chainguard29.5.2-r0
docker-composeChainguard5.1.1-r1
kanikoWolfi1.25.12-r1
kubescapeChainguard4.0.5-r0
trivy-fipsChainguard0.69.3-r4
scorecardWolfi5.4.0-r15
buildkitAlpine0.29.0-r0

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
mobybuildkit< 0.28.1
chainguarddocker-cli-buildx-fips0
chainguardbuildah-fips0
wolficonftest0
chainguardzot0
chainguarddocker-fips-290
chainguarddocker-compose0
wolfikaniko0
chainguardkubescape0
chainguardtrivy-fips0
wolfiscorecard0
alpinebuildkit0
chainguardskaffold-fips0
chainguardbuildah0
chainguardkaniko0
chainguardcloudbeat-9.20
wolfiosv-scanner0
wolfidocker-compose0
chainguardlivekit-cli0
chainguardcloudbeat-8.190

…and 34 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
  • Mar 28, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (21 in total, the first dated here)
  • Aug 5, 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-33748
vulnetix vdb fixes CVE-2026-33748

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-33748/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›