CVE Catalog

CVE-2026-61711

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

29th percentile - higher than 29% of all known CVEs

Summary

BuildKit, a toolkit for building artifacts, prior to version 0.31.1 has a vulnerability where a custom frontend can place an invalid SecurityMode value in a crafted build request. The executor treats this value as a non-sandbox mode without requiring the security.insecure entitlement, disabling Seccomp and AppArmor protections for the build container while Linux capabilities remain restricted.

Risk Assessment

The risk is that a build container can run without Seccomp and AppArmor protections, increasing the attack surface and potentially allowing privilege escalation or unauthorized actions in the build environment.

Recommendation

Upgrade BuildKit to version 0.31.1 or later. Also, review frontend configurations to ensure invalid SecurityMode values are not accepted.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS