moby/buildkit · Security

BuildKit: Custom frontend could bypass Seccomp/AppArmor

GHSA ID
GHSA-7236-3392-c5c6
CVE ID
CVE-2026-61711
Severity
medium
Published
Updated
CVSS v4
5.3 · 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

Description

Impact

A custom frontend could send a crafted build request that disabled Seccomp and AppArmor protections for the build container, even if the user did not explicitly allow the security.insecure entitlement. Other security measures, like Linux capabilities were still applied to these containers.

Patches

Problem has been fixed in versions v0.31.1+

Workarounds

Only use BuildKit frontends from trusted providers.

CWEs

References