CVE-2026-61711: Moby Buildkit

Medium severity, CVSS 5.3. EPSS: 0.5% probability of exploitation activity in the next 30 days.

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, a custom frontend could place an invalid SecurityMode value in a crafted build request, and executor/oci/spec_linux.go treated the unsupported value as a non-sandbox mode without requiring the security.insecure entitlement. This disabled Seccomp and AppArmor protections for the build container even though Linux capabilities remained restricted. This issue is fixed in version 0.31.1.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Moby Buildkit, before 0.31.1: fixed in 0.31.1

Affected products

Affected packages

Published 2026-08-19. Last modified 2026-09-09.