CVE-2026-61711

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductGithub.com/moby/buildkit
PublishedAug 19, 2026
First seenAug 19, 2026

How to fix

Update
  • github.com/moby/buildkit0.31.1 or later

Affected products

ProductAffected versionsFixed in
github.com/moby/buildkitGov < 0.31.10.31.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.