GoWorst: Critical9 advisories

github.com/moby/buildkit: known vulnerabilities

github.com/moby/buildkit has 9 reviewed security advisories in the GitHub Advisory Database — 2 critical, 3 high, 3 moderate, 1 low. The most recent was published 2026-08-19. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/moby/buildkit versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/moby/buildkit

Upgrade github.com/moby/buildkit to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/moby/buildkit@0.31.1 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (9)

BuildKit: Custom frontend could bypass Seccomp/AppArmor Moderate CWE-20 — Affected: before 0.31.1. Fixed in 0.31.1. Published 2026-08-19. GHSA-7236-3392-c5c6 · CVE-2026-61711
BuildKit has a possible runtime DoS via unbounded group parsing Low CWE-770 — Affected: before 0.31.1. Fixed in 0.31.1. Published 2026-08-19. GHSA-72x6-4j93-7w86 · CVE-2026-61712
BuildKit's Malicious frontend can cause file escape outside of storage root High 8.4 CWE-22 — Affected: before 0.28.1. Fixed in 0.28.1. Published 2026-03-27. GHSA-4c29-8rgm-jvjj · CVE-2026-33747
BuildKit Git URL subdir component can cause access to restricted files High 7.5 CWE-22 CWE-59 — Affected: before 0.28.1. Fixed in 0.28.1. Published 2026-03-27. GHSA-4vrq-3vrq-g6gg · CVE-2026-33748
BuildKit vulnerable to possible host system access from mount stub cleaner Critical 10.0 CWE-22 — Affected: before 0.12.5. Fixed in 0.12.5. Published 2024-01-31. GHSA-4v98-7qmw-rqr8 · CVE-2024-23652
BuildKit vulnerable to possible panic when incorrect parameters sent from frontend Moderate 5.3 CWE-754 — Affected: before 0.12.5. Fixed in 0.12.5. Published 2024-01-31. GHSA-9p26-698r-w4hx · CVE-2024-23650
BuildKit vulnerable to possible race condition with accessing subpaths from cache mounts High 8.7 CWE-362 — Affected: before 0.12.5. Fixed in 0.12.5. Published 2024-01-31. GHSA-m3r6-h7wv-7xxv · CVE-2024-23651
Buildkit's interactive containers API does not validate entitlements check Critical 9.8 CWE-863 — Affected: before 0.12.5. Fixed in 0.12.5. Published 2024-01-31. GHSA-wr6v-9f75-vh2g · CVE-2024-23653
Buildkit credentials inlined to Git URLs could end up in provenance attestation Moderate 6.5 CWE-200 — Affected: from 0.10.0 up to 0.11.4. Fixed in 0.11.4. Published 2023-03-06. GHSA-gc89-7gcr-jxqc · CVE-2023-26054

Find github.com/moby/buildkit across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.