CVE-2026-33748: moby buildkit · Path Traversal
Affects moby buildkitSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 0.28.1 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.28.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade buildkit and moby/buildkit to 0.28.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mobybuildkit | Affected
| Fixed in
|
GitHubmoby/buildkitpkg:github/moby/buildkitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade moby buildkit to version 0.28.1 or later immediately to apply the official patch.
- Until patched, avoid building Dockerfiles from untrusted Git repositories or those using Git URLs with subdirectory fragments.
- Implement strict validation and sanitization of Git URL inputs in build pipelines to reject URLs containing subpath components or symlinks.
- Use container build environments with minimal filesystem access and isolate build hosts to limit exposure of sensitive files.
- Employ runtime monitoring to detect unusual file access patterns during builds.
- Review and restrict permissions on build host filesystems to minimize sensitive data accessible to build processes.
- Incorporate security scanning tools that detect usage of vulnerable buildkit versions and risky Git URL patterns in CI/CD workflows.
- Educate developers and DevOps teams about risks of using untrusted sources and subdirectory components in builds.
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.