cve.bz

CVE-2026-33748 mobyproject buildkit: Path traversal

8.2 highEPSS 0.5%Fix available

High (8.2) in mobyproject buildkit. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/moby/buildkit 0.28.1.

On this page
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.

Severity

CVSS 4.0

8.2 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33748 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33748?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33748?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33748 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mobyproject:buildkitbefore 0.28.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4vrq-3vrq-g6ggGogithub.com/moby/buildkit<0.28.10.28.1
GO-2026-4859Gogithub.com/moby/buildkit<0.28.10.28.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12docker.iono fix listedDEBIAN-CVE-2026-33748
Debian13docker.io26.1.5+dfsg1-9+deb13u1DEBIAN-CVE-2026-33748 DSA-6443-1
Debian14docker.io28.5.2+dfsg4-3DEBIAN-CVE-2026-33748
Ubuntu22.04:LTSdocker.io-app29.1.3-0ubuntu3~22.04.2UBUNTU-CVE-2026-33748
Ubuntu24.04:LTSdocker.io-app29.1.3-0ubuntu3~24.04.2UBUNTU-CVE-2026-33748
Ubuntu25.10docker.io, docker.io-appno fix listedUBUNTU-CVE-2026-33748
Ubuntu26.04:LTSdocker.io-app29.1.3-0ubuntu4.1UBUNTU-CVE-2026-33748
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 moredocker.iono fix listedUBUNTU-CVE-2026-33748
Ubuntu26.10docker.io-app29.1.3-0ubuntu5UBUNTU-CVE-2026-33748
UbuntuPro:20.04:LTSdocker.io-app26.1.3-0ubuntu1~20.04.1+esm2UBUNTU-CVE-2026-33748
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5docker-stable24.0.9_ce-1.37.1SUSE-SU-2026:2578-1
openSUSELeap 15.6govulncheck-vulndb0.0.20260402T184258-150000.1.158.1SUSE-SU-2026:1205-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweeddocker-stable24.0.9_ce-18.1openSUSE-SU-2026:11075-1
openSUSETumbleweedtrivy0.70.0-1.1openSUSE-SU-2026:10651-1
Alpinev3.23, v3.24docker29.3.1-r0ALPINE-CVE-2026-33748
Alpinev3.24buildkit0.29.0-r0ALPINE-CVE-2026-33748
Alpaquitastreamdocker29.3.1-r0BELL-CVE-2026-33748

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
multicluster engine for Kubernetes 2.10multicluster-engine/must-gather-rhel9:1784849867Fixed 2026-07-27RHSA-2026:46885
multicluster engine for Kubernetes 2.10multicluster-engine/must-gather-rhel9:1784849867Fixed 2026-07-28RHSA-2026:47388
multicluster engine for Kubernetes 2.8multicluster-engine/must-gather-rhel9:1782158798Fixed 2026-06-28RHSA-2026:30650
OpenShift API for Data Protection 1.3oadp/oadp-mustgather-rhel9:1785177359Fixed 2026-08-06RHSA-2026:51033
OpenShift API for Data Protection 1.4oadp/oadp-mustgather-rhel9:1779770049Fixed 2026-06-25RHSA-2026:29854
OpenShift API for Data Protection 1.5oadp/oadp-mustgather-rhel9:1779770057Fixed 2026-06-17RHSA-2026:26568
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9:1786627460Fixed 2026-08-19RHSA-2026:57013
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9-operator:1786626399Fixed 2026-08-19RHSA-2026:57013
Red Hat Openshift Data Foundation 4.20odf4/mcg-core-rhel9:1786628235Fixed 2026-08-19RHSA-2026:57013
Red Hat Openshift Data Foundation 4.20odf4/mcg-rhel9-operator:1786627106Fixed 2026-08-19RHSA-2026:57013
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Will not fix
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logical Volume Manager Storagelvms4/lvms-must-gather-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-cli-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-discovery-addon-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-log-reader-rhel8Affected
Migration Toolkit for Containersrhmtc/openshift-migration-must-gather-rhel8Affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel8Will not fix
128 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33748.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON