PT-2026-28526
CVE-2026-33748
·
Published
2026-03-26
·
Updated
2026-10-01
Description by
CVSS 4.0
8.2
HighMetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
BuildKit versions prior to 0.28.1
Description
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. This issue affects builds that use Git URLs with a subpath component. The vulnerable component is the handling of the
subdir component within Git URLs. 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.Recommendations
Update to BuildKit version 0.28.1 or later.
Avoid building Dockerfiles from untrusted sources.
Avoid using the subdir component from an untrusted Git repository where the subdir component could point to a symlink.
Found an issue in the description? Have something to add? Feel free to write us 👾