CVE-2026-33747

critical

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, 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.

References

https://github.com/moby/buildkit/security/advisories/GHSA-4c29-8rgm-jvjj

https://github.com/moby/buildkit/releases/tag/v0.28.1

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-16518

Details

Source: Mitre, NVD

Published: 2026-03-27

Updated: 2026-04-01

Named Vulnerability: GO-2026-4858Named Vulnerability: GHSA-4c29-8rgm-jvjj

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

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

Severity: Critical

EPSS

EPSS: 0.00583