Intel

AIKIDO-2026-132851

github.com/moby/buildkit is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-61712 Published Aug 11, 2026

35

Low Risk

This Affects:

GOgithub.com/moby/buildkit
0.0.1 - 0.31.0
Fixed in 0.31.1
Are you affected? Scan for Free

TL;DR

BuildKit parses image group definitions without bounding the amount of work or memory involved. A maliciously crafted base image or build can drive unbounded group parsing when a container is created from the image. Memory exhaustion follows, triggering an out-of-memory kill of the buildkitd process and a denial of service. The fix bounds group parsing to prevent excessive resource use.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you build from untrusted base images or build definitions.

Background info

github.com/moby/buildkit is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.31.0.

How to fix this

Upgrade the github.com/moby/buildkit library to the patch version.