Vulnerability · Published Aug 19, 2026 · Assigned by GitHub_M

CVE-2026-61711BuildKit: Custom frontend could bypass Seccomp/AppArmor

Medium 5.3

In plain English

A medium-severity improper input validation in buildkit from moby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.4%top 70.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/moby/buildkit0.31.1GHSA-7236-3392-c5c6
Gogithub.com/moby/buildkit0.31.1GO-2026-6255

Affected products (as reported)

VendorProductVersions
moby buildkit < 0.31.1

Weakness: CWE-20 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

References