CVE-2026-33748: BuildKit Git URL subdir component can cause access to restricted files
CVE-2026-33748 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 8.2 (Docker), 6.5 (Red Hat)
- CVSS vector
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· base score 8.2, scored by GitHub_MAttack vector: network. Attack complexity: low. Attack requirements: present. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
- EPSS
- 0.53% chance of exploitation in the next 30 days (45th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Docker: 0.28.1
- Red Hat: RHSA-2026:9453
- Assigned by
- GitHub_M (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-33748; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
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.
Text from the CVE.org record (GitHub_M).
How do I fix CVE-2026-33748?
Upgrade to a fixed release named by the vendor:
- Docker: 0.28.1
- Red Hat: RHSA-2026:9453
- Update the affected package(s) to the fixed version shipped in RHSA-2026:9453 (`sudo dnf update` / `yum update`). (Red Hat)
Vendor advisories for CVE-2026-33748
Docker
1 advisory- Advisory severityHigh8.2
High [CVE-2026-33748] BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner
CVE-2026-33748Source published Source updated
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.
- Related products — impact not confirmed
- BuildKit
- Source-reported affected versions
- before 0.28.1
- Source-reported fixed versions
- 0.28.1
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityMedium6.5
Medium [CVE-2026-33748] Unauthorized file access via Git URL fragment subdir components
CVE-2026-33748Source published
Unauthorized file access via Git URL fragment subdir components. Red Hat rates this moderate (CVSS 6.5). Weakness: CWE-22. Affected package(s): openshift-service-mesh/istio-proxyv2-rhel9:1776240392, multicluster-engine/must-gather-rhel9:1782158798, openshift-service-mesh/istio-proxyv2-rhel9:1776291540, openshift-service-mesh/istio-proxyv2-rhel9:1776315466, oadp/oadp-mustgather-rhel9:1779770049, oadp/oadp-mustgather-rhel9:1779770057. Resolved in Red Hat advisory RHSA-2026:9453 — update the affected packages (`sudo dnf update`).
- Related products — impact not confirmed
- openshift-service-mesh/istio-proxyv2-rhel9:1776240392
- multicluster-engine/must-gather-rhel9:1782158798
- openshift-service-mesh/istio-proxyv2-rhel9:1776291540
- openshift-service-mesh/istio-proxyv2-rhel9:1776315466
3 more entries in the full advisory.
- Source-reported affected versions
- openshift-service-mesh/istio-proxyv2-rhel9:1776240392
- multicluster-engine/must-gather-rhel9:1782158798
- openshift-service-mesh/istio-proxyv2-rhel9:1776291540
- openshift-service-mesh/istio-proxyv2-rhel9:1776315466
3 more entries in the full advisory.
- Source-reported fixed versions
- RHSA-2026:9453
- Mitigation guidance
- Update the affected package(s) to the fixed version shipped in RHSA-2026:9453 (`sudo dnf update` / `yum update`).
References
- CVE-2026-33748 recordCVE.org
- CVE-2026-33748 detailNVD
- https://github.com/moby/buildkit/security/advisories/GHSA-4vrq-3vrq-g6ggx_refsource_confirm
- https://docs.docker.com/build/concepts/context/#url-fragmentsx_refsource_misc
- https://github.com/moby/buildkit/releases/tag/v0.28.1x_refsource_misc
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
More Docker advisories
CVE-2026-121520Nov 3, 2026In BuildKit versionsCVE-2026-121522Nov 3, 2026In BuildKit vulnerabilityCVE-2026-93318Oct 5, 2026BuildKit: malicious image can advertise DiffIDs from another image while containingCVE-2026-93316Oct 5, 2026If BuildKit daemon is started with --cdi-disabledCVE-2026-126329Nov 12, 2026Docker Sandboxes reuses existing state and configuration directories without verifyingCVE-2026-126330Nov 12, 2026Docker Sandboxes can silently republish a sandbox service after an operator removes
Get an email when Docker publishes the next one.
See Docker's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.