Database/Container, Kubernetes & orchestration
BuildKit: invalid SecurityMode disables Seccomp and AppArmor without the insecure entitlement
Impact
A custom frontend can place an unsupported SecurityMode value in a crafted build request; spec_linux.go treats the unrecognized value as a non-sandbox mode and skips the security.insecure entitlement check. The build container then runs with Seccomp and AppArmor off. Linux capabilities remain restricted, so this is not a direct escape, but it strips two of the layers standing between an untrusted build and the host kernel and widens the syscall surface a kernel exploit can reach. On a shared build farm — including GPU nodes doing image builds alongside tenant workloads — the entitlement system exists so the operator decides which builds get to drop sandboxing; this bypasses that decision without any signal.
Who can reach it
Anyone who can submit a build request with a custom frontend to the BuildKit daemon. Network-reachable and low-privileged in the usual buildkitd-as-a-shared-service deployment.
What to do
Upgrade BuildKit to 0.31.1 and restart buildkitd, or update the builder image if you run BuildKit as a Kubernetes builder deployment. No node drain or reboot. If you allow untrusted or third-party frontends, review who can submit builds while rolling the fix.
References
Related entries
- Helm: index-out-of-range panic rendering charts that contain empty filesCVE-2026-63308 · Helm (Files.Lines template helper, pkg/engine/files.go)Medium
- Traefik Gateway API provider: extensionRef resolved in the wrong namespace, letting a route bind an ungranted MiddlewareCVE-2026-65601 · Traefik Kubernetes Gateway API provider (HTTPRoute extensionRef namespace resolution)Medium
- Traefik: IngressRouteTCP ignores crossProviderNamespaces, letting any namespace borrow file-provider mTLS identityCVE-2026-65602 · Traefik (IngressRouteTCP serversTransport cross-provider allowlist)Medium
- JFrog Artifactory: authenticated write outside the Docker repository cache pathCVE-2026-66384 · JFrog Artifactory (Docker remote repository cache path)Medium
- Envoy: semicolon path parameters make routing pick an unprotected route for a protected resourceCVE-2026-73511 · Envoy HTTP path matching (ignore_path_parameters_in_path_matching, semicolon matrix parameters)Medium
- Envoy: scoped IPv6 address reconstruction aborts the proxy process in ORIGINAL_DST and QUIC pathsCVE-2026-73549 · Envoy Utility::copyInternetAddressAndPort and QUIC client-address handling (scoped IPv6 addresses)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.