Back to CVE records
High 8.2Published Mar 27, 2026

CVE-2026-33748BuildKit Git URL subdir component can cause access to restricted files

Updated under an hour ago ()

Does this affect you?

It affects moby buildkit and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.2 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-22, CWE-59
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Mar 27, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
moby buildkit
moby:buildkit (from the name)
before 0.28.1
CNA record
mobyproject buildkit
mobyproject:buildkit
before 0.28.1
NVD

References

  • x-refsource-confirm, mitigation, vendor-advisory
  • x-refsource-misc, product
  • x-refsource-misc, product, release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.