GHSA-7236-3392-c5c6: Input Validation

Published Aug 19, 2026
·
Updated

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.

Affected Software

1 affected componentFixes available
go/github.com/moby/buildkit<=0.31.0
0.31.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/moby/buildkit to a version that resolves this vulnerability.

    Fixed in 0.31.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.31.1
  3. Compensating control

    Only use BuildKit frontends from trusted providers.

Event History

Aug 19, 2026
Advisory Published
via GitHub·08:23 PM
Data Sourced
via GitHub·08:23 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

BuildKit users who run custom frontends are exposed, because a crafted build request from such a frontend can disable Seccomp and AppArmor protections for the build container. The issue applies even when the user did not explicitly allow the security.insecure entitlement.

2

What does an attacker need to exploit it?

An attacker needs the ability to provide or cause use of a crafted build request through a custom BuildKit frontend. The advisory does not indicate that standard trusted frontends are affected.

3

What protections remain in place if exploitation occurs?

Linux capabilities and other security measures continue to be applied to the affected build containers. Seccomp and AppArmor protections are the controls that can be disabled.

4

What can be done before patching?

Use only BuildKit frontends from trusted providers. The issue is fixed in BuildKit v0.31.1 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203