Bug 2452271 (CVE-2026-33748) - CVE-2026-33748 github.com/moby/buildkit: BuildKit: Unauthorized file access via Git URL fragment subdir components
Summary: CVE-2026-33748 github.com/moby/buildkit: BuildKit: Unauthorized file access v...
Keywords:
Status: NEW
Alias: CVE-2026-33748
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2453083 2453084 2453085 2453086 2453089 2453090 2453091 2453092 2453093 2453094 2453095 2453087 2453088
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-27 15:02 UTC by OSIDB Bzimport
Modified: 2026-03-30 17:35 UTC (History)
69 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-03-27 15:02:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.