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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61711.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.31.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "64bbec89ca43dd95b2853edeca240c33c6729910"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.31.1",
"range": [
{
"fixed": "673b7e0196de0cac83308274b88aaed97a91af74"
}
],
"source": "REFERENCES_TAG"
}
]
}