{"id":"GHSA-7236-3392-c5c6","summary":"BuildKit: Custom frontend could bypass Seccomp/AppArmor","details":"### Impact\nA custom frontend could send a crafted build request that disabled Seccomp and AppArmor protections for the build container, even if the user did not explicitly allow the `security.insecure` entitlement. Other security measures, like Linux capabilities were still applied to these containers.\n\n### Patches\nProblem has been fixed in versions v0.31.1+\n\n### Workarounds\nOnly use BuildKit frontends from trusted providers.","aliases":["CVE-2026-61711","GO-2026-6255"],"modified":"2026-08-25T15:40:43.573168861Z","published":"2026-08-19T20:23:50Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-08-19T20:23:50Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6"},{"type":"PACKAGE","url":"https://github.com/moby/buildkit"}],"affected":[{"package":{"name":"github.com/moby/buildkit","ecosystem":"Go","purl":"pkg:golang/github.com/moby/buildkit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.31.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.31.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-7236-3392-c5c6/GHSA-7236-3392-c5c6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}