CVE catalog

CVE-2026-33748

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 compo

[CVE catalog]

Severity
High · CVSS 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.48% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandocker.iosid28.5.2+dfsg4-5fixed
Debiandocker.ioforky28.5.2+dfsg4-5fixed
Debiandocker.iotrixie26.1.5+dfsg1-9+deb13u1fixed
Debiandocker.iotrixie-security26.1.5+dfsg1-9+deb13u1fixed
Debiandocker.iobookworm20.10.24+dfsg1-1+deb12u1vulnerable
Cpedocker.io-appNot reported29.1.3-0ubuntu3~24.04.2fixed
Cpedocker-docNot reported29.1.3-0ubuntu3~24.04.2fixed
Cpedocker.ioNot reported29.1.3-0ubuntu3~24.04.2fixed
Cpedocker.ioNot reportedNot reportedvulnerable
CpebuildkitNot reported0.28.1fixed
Gogithub.com/moby/buildkitNot reported0.28.1fixed
CpebuildkitNot reported0.28.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandocker.iosourcesid28.5.2+dfsg4-3not yet assignedNot reported[1140189]
Debiandocker.iosourceforky28.5.2+dfsg4-3not yet assignedNot reported[1140189]
Debiandocker.iosourcetrixie26.1.5+dfsg1-9+deb13u1not yet assignedNot reported[1140189]
Debiandocker.iosourcebookworm(unfixed)not yet assignedNot reported[1140189]
Cpedocker.io-appcpeNot reported29.1.3-0ubuntu3~24.04.2Not reportedNot reportedNot reported
Cpedocker-doccpeNot reported29.1.3-0ubuntu3~24.04.2Not reportedNot reportedNot reported
Cpedocker.iocpeNot reported29.1.3-0ubuntu3~24.04.2Not reportedNot reportedNot reported
CpebuildkitcpeNot reported0.28.1Not reportedNot reportedNot reported
Gogithub.com/moby/buildkitGoNot reported0.28.1Not reportedGHSA-4VRQ-3VRQ-G6GGNot reported
CpebuildkitcpeNot reported0.28.1Not reportedNVD-CVE-2026-33748Not reported

[Debian bug #1140189]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [docker-doc]Affected

    Source package: [docker.io]

    Details (2)
    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Affected

      nvd · docker.io · debian · bookworm; nvd · docker.io · debian · 12

    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Affected

      nvd · docker.io · debian · bookworm; nvd · docker.io · debian · 12

  • [docker.io]Affected

    Source package: [docker.io]

    Details (2)
    • 20.10.24+dfsg1-1+deb12u1+b6 · amd64 · bookworm

      Affected

      nvd · docker.io · debian · bookworm; nvd · docker.io · debian · 12

    • 20.10.24+dfsg1-1+deb12u1+b6 · arm64 · bookworm

      Affected

      nvd · docker.io · debian · bookworm; nvd · docker.io · debian · 12

  • Source package: [docker.io]

    Details (2)
    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Affected

      nvd · docker.io · debian · bookworm; nvd · docker.io · debian · 12

    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Affected

      nvd · docker.io · debian · bookworm; nvd · docker.io · debian · 12

[Debian 13 (Trixie)]

  • [docker-cli]Affected

    Source package: [docker.io]

    Details (4)
    • 26.1.5+dfsg1-9+b13 · amd64 · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+b13 · arm64 · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

  • [docker-doc]Affected

    Source package: [docker.io]

    Details (4)
    • 26.1.5+dfsg1-9 · all · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9 · all · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

  • [docker.io]Affected
    Details (4)
    • 26.1.5+dfsg1-9+b13 · amd64 · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+b13 · arm64 · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

  • Source package: [docker.io]

    Details (4)
    • 26.1.5+dfsg1-9 · all · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9 · all · trixie

      Affected · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 26.1.5+dfsg1-9+deb13u1

      nvd · docker.io · debian · 13

Observed:

References