5.3
Medium
CVE-2026-61711 BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| buildkit 0.31 | earliest → < 0.31.1 | 0.31.1 |
References
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of buildkit
The 27 CVEs of buildkit →
CVE-2026-121520
Malicious client could set xattr value outside of BuildKit state directory
4.5
Medium
CVE-2026-121522
Possible panic from Git source resolver
6.7
Medium
CVE-2026-93321
A malicious frontend can submit an LLB definition that causes buildkitd to panic and terminate, interrupting all…
6.9
Medium
CVE-2026-93315
When proxy networking with CA injection is enabled, a build can modify its CA bundle before cleanup
5.8
Medium