CVE-2026-61711BuildKit: Custom frontend could bypass Seccomp/AppArmor
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-tests | Fix pending Fix deferred | ||
| Go library | github.com/moby/buildkit | Fixed | 0.31.1 | GHSA-7236-3392-c5c6 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- moby buildkit: affected: < 0.31.1
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.