CVE-2026-33748
Last modified
CVE-2026-33748 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mobyproject | Buildkit | < 0.28.1 |
References
- https://github.com/moby/buildkit/releases/tag/v0.28.1Product, Release Notes
- https://github.com/moby/buildkit/security/advisories/GHSA-4vrq-3vrq-g6ggMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33748?
How severe is CVE-2026-33748?
How do I fix CVE-2026-33748?
Are you affected by CVE-2026-33748?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
