PT-2026-28526 · Docker+3 · Buildkit+3
Published
2026-03-26
·
Updated
2026-05-18
·
CVE-2026-33748
CVSS v4.0
8.2
High
| Vector | AV: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.
Exploit
Fix
Path traversal
Link Following
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Buildkit
Linuxmint
Red Os
Ubuntu