CVEfocus › CVE database › CVE-2026-33748

CVE-2026-33748BuildKit Git URL subdir component can cause access to restricted files

CVSS 8.2 HighEPSS 0.5% (higher than 45% 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, 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.

CWE-22CWE-59

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-33748
Ubuntu 26.10docker.io-appFixed29.1.3-0ubuntu5UBUNTU-CVE-2026-33748
Ubuntu 26.04docker.ioFix pendingUBUNTU-CVE-2026-33748
Ubuntu 26.04docker.io-appFixed29.1.3-0ubuntu4.1UBUNTU-CVE-2026-33748
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-33748
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-33748
Ubuntu 24.04docker.ioFix pendingUBUNTU-CVE-2026-33748
Ubuntu 24.04docker.io-appFixed29.1.3-0ubuntu3~24.04.2UBUNTU-CVE-2026-33748
Ubuntu 22.04docker.ioFix pendingUBUNTU-CVE-2026-33748
Ubuntu 22.04docker.io-appFixed29.1.3-0ubuntu3~22.04.2UBUNTU-CVE-2026-33748
Ubuntu 20.04docker.ioFix pendingUBUNTU-CVE-2026-33748
Ubuntu 20.04docker.io-appFix pending26.1.3-0ubuntu1~20.04.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-33748
Ubuntu 18.04docker.ioFix pendingUBUNTU-CVE-2026-33748
Ubuntu 16.04docker.ioFix pendingUBUNTU-CVE-2026-33748
Debian 14docker.ioFixed28.5.2+dfsg4-3DEBIAN-CVE-2026-33748
Debian 13docker.ioFixed26.1.5+dfsg1-9+deb13u1DEBIAN-CVE-2026-33748
Debian 12docker.ioFix pendingDEBIAN-CVE-2026-33748
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-33748
Alpine Linux 3.24dockerFixed29.3.1-r0ALPINE-CVE-2026-33748
Alpine Linux 3.23dockerFixed29.3.1-r0ALPINE-CVE-2026-33748
Go librarygithub.com/moby/buildkitFixed0.28.1GO-2026-4859

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.