{"id":"CVE-2026-61711","aliases":["GHSA-7236-3392-c5c6","GO-2026-6255"],"url":"https://o3.security/vulnerability/CVE-2026-61711","summary":"BuildKit: Custom frontend could bypass Seccomp/AppArmor","details":"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.","published":"2026-08-19T20:03:38.250Z","modified":"2026-09-29T18:26:51.502193697Z","cvss":null,"epss":{"score":0.00357,"percentile":0.28458,"asOf":"2026-08-27"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/moby/buildkit","fixedVersion":"0.31.1"}],"fix":{"url":"https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109","label":"moby/buildkit@3ea6dd0"},"references":[{"type":"WEB","url":"https://github.com/moby/buildkit/releases/tag/v0.31.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61711.json"},{"type":"ADVISORY","url":"https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61711"},{"type":"FIX","url":"https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109"},{"type":"FIX","url":"https://github.com/moby/buildkit/commit/64bbec89ca43dd95b2853edeca240c33c6729910"},{"type":"PACKAGE","url":"https://github.com/moby/buildkit"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-29T18:26:51.502193697Z"}}