{"id":"CVE-2026-61711","published":"2026-08-19T20:03:38Z","modified":"2026-08-20T13:19:05Z","title":"BuildKit: Custom frontend could bypass Seccomp/AppArmor","vendor":"moby","product":"buildkit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.32392,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109","tags":["x_refsource_MISC"]},{"url":"https://github.com/moby/buildkit/commit/64bbec89ca43dd95b2853edeca240c33c6729910","tags":["x_refsource_MISC"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.31.1","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":6.48},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"moby","affectedVersions":[{"vendor":"moby","product":"buildkit","versions":["< 0.31.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-20T13:17:33.733259Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/moby/buildkit","vulnerableRanges":["<0.31.1"],"patched":["0.31.1"],"from":["GHSA-7236-3392-c5c6","GO-2026-6255"],"provenance":"source"}],"summary":{"text":"BuildKit, the build toolkit from moby, contains an input validation flaw in its Linux executor (executor/oci/spec_linux.go) that is present in versions before 0.31.1. An attacker who can supply a custom frontend can include an invalid SecurityMode value in a crafted build request, which the executor treats 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; this requires network access and low-privilege authentication, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:16Z"},"euvd":{"id":"EUVD-2026-62838","exploited":false,"provenance":"source"}}