CVE-2026-61711
published medium CVSS 4.0 · 5.3BuildKit: Custom frontend could bypass Seccomp/AppArmor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| moby | — | buildkit< 0.31.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-142 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-165 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-134 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3467 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
| Amazon Linux | AL2 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-142 |
| Amazon Linux | AL2 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-142 |
| Amazon Linux | AL2 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-142 |
| Amazon Linux | AL2023 | dockeraarch64 | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | dockersrc | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | dockerx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3140 |
| Amazon Linux | AL2023 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2023-2026-3140 |
| Amazon Linux | AL2023 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3140 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moby | buildkit | < 0.31.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
4Provider assertions
2GitHub_M · cna
BuildKit: Custom frontend could bypass Seccomp/AppArmor
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c80f5048dd33dfced3205873e9729962c23422ac65c3564cb07dc13cc154da9a
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record