{"id":"CVE-2026-61711","state":"PUBLISHED","title":"BuildKit: Custom frontend could bypass Seccomp/AppArmor","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.","publishedAt":"2026-08-19T20:03:38.250Z","updatedAt":"2026-08-20T13:19:05.458Z","severity":{"score":5.3,"label":"Medium","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["moby buildkit"],"affected":[{"vendor":"moby","product":"buildkit","versions":[{"version":"< 0.31.1","status":"affected"}]}],"references":["https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6","https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109","https://github.com/moby/buildkit/commit/64bbec89ca43dd95b2853edeca240c33c6729910","https://github.com/moby/buildkit/releases/tag/v0.31.1"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/61xxx/CVE-2026-61711.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61711","state":"PUBLISHED","datePublished":"2026-08-19T20:03:38.250Z","dateUpdated":"2026-08-20T13:19:05.458Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-10T18:51:13.920Z"},"containers":{"cna":{"title":"BuildKit: Custom frontend could bypass Seccomp/AppArmor","descriptions":[{"lang":"en","value":"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":[{"vendor":"moby","product":"buildkit","versions":[{"version":"< 0.31.1","status":"affected"}]}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6","name":"https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109","name":"https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109","tags":["x_refsource_MISC"]},{"url":"https://github.com/moby/buildkit/commit/64bbec89ca43dd95b2853edeca240c33c6729910","name":"https://github.com/moby/buildkit/commit/64bbec89ca43dd95b2853edeca240c33c6729910","tags":["x_refsource_MISC"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.31.1","name":"https://github.com/moby/buildkit/releases/tag/v0.31.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-19T20:03:38.250Z"},"source":{"advisory":"GHSA-7236-3392-c5c6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-20T13:17:33.733259Z","id":"CVE-2026-61711","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-20T13:19:05.458Z"}}]}}}