CVE-2026-33747

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, 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. The issue has been fixed in v0.28.1. The vulnerability requires using an untrusted BuildKit frontend set with `#syntax` or `--build-arg BUILDKIT_SYNTAX`. Using these options with a well-known frontend image like `docker/dockerfile` is not affected.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*

History

01 Apr 2026, 14:34

Type Values Removed Values Added
First Time Mobyproject
Mobyproject buildkit
References () https://github.com/moby/buildkit/releases/tag/v0.28.1 - () https://github.com/moby/buildkit/releases/tag/v0.28.1 - Product, Release Notes
References () https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj - () https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj - Mitigation, Vendor Advisory
CPE cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*

30 Mar 2026, 13:26

Type Values Removed Values Added
Summary
  • (es) BuildKit es un conjunto de herramientas para convertir código fuente en artefactos de compilación de manera eficiente, expresiva y repetible. Antes de la versión 0.28.1, al usar un frontend de BuildKit personalizado, el frontend puede elaborar un mensaje de API que provoca que se escriban archivos fuera del directorio de estado de BuildKit para el contexto de ejecución. El problema ha sido solucionado en la v0.28.1. La vulnerabilidad requiere usar un frontend de BuildKit no confiable configurado con '#syntax' o '--build-arg BUILDKIT_SYNTAX'. El uso de estas opciones con una imagen de frontend conocida como 'docker/dockerfile' no se ve afectado.

27 Mar 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-27 01:16

Updated : 2026-04-01 14:34


NVD link : CVE-2026-33747

Mitre link : CVE-2026-33747

CVE.ORG link : CVE-2026-33747


JSON object : View

Products Affected

mobyproject

  • buildkit
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')