# CVE-2026-61711: BuildKit: Custom frontend could bypass Seccomp/AppArmor

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-08-19T20:03:38.250Z
- Modified: 2026-09-10T03:51:13.277Z
- Also known as: GHSA-7236-3392-c5c6, GO-2026-6255
- Related: CGA-7w6w-pqpr-3rhw
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- moby buildkit: < 0.31.1
- github.com/moby/buildkit (Go): before 0.31.1

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/moby/buildkit/security/advisories/GHSA-7236-3392-c5c6> (advisory, web)
- <https://github.com/moby/buildkit/commit/3ea6dd0ce7d269cdb8aa23348718e2c1bf64f109>
- <https://github.com/moby/buildkit/commit/64bbec89ca43dd95b2853edeca240c33c6729910>
- <https://github.com/moby/buildkit/releases/tag/v0.31.1>
- <https://github.com/moby/buildkit> (package)

## Sources

- CVE List: [CVE-2026-61711](https://www.cve.org/CVERecord?id=CVE-2026-61711), CVE Terms of Use, modified 2026-08-20
- GitHub Advisory Database: [GHSA-7236-3392-c5c6](https://github.com/advisories/GHSA-7236-3392-c5c6), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6255](https://pkg.go.dev/vuln/GO-2026-6255), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-61711](https://nvd.nist.gov/vuln/detail/CVE-2026-61711), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-61711 · Whole record: https://cve.day/CVE-2026-61711.json · Rebuilt by cve.day 2026-11-25T22:59:34.187Z
