Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/moby/buildkit
  4. ›
  5. CVE-2026-33747

CVE-2026-33747: BuildKit's Malicious frontend can cause file escape outside of storage root

March 26, 2026 (updated March 27, 2026)

When using a custom BuildKit frontend, the frontend can craft an API message that causes files to be written outside of the BuildKit state directory for the execution context.

References

  • github.com/advisories/GHSA-4c29-8rgm-jvjj
  • github.com/moby/buildkit
  • github.com/moby/buildkit/releases/tag/v0.28.1
  • github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj
  • nvd.nist.gov/vuln/detail/CVE-2026-33747

Code Behaviors & Features

Detect and mitigate CVE-2026-33747 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.28.1

Fixed versions

  • 0.28.1

Solution

Upgrade to version 0.28.1 or above.

Impact 8.4 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/moby/buildkit/CVE-2026-33747.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:31 +0000.