{"cve":"CVE-2024-23653","nvd":{"published":"2024-01-31T22:15:54.600","modified":"2026-06-17T07:13:18.853","status":"Modified","description":"BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special `security.insecure` entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-863"],"references":["https://github.com/moby/buildkit/pull/4602","https://github.com/moby/buildkit/releases/tag/v0.12.5","https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g","https://github.com/moby/buildkit/pull/4602","https://github.com/moby/buildkit/releases/tag/v0.12.5"],"products":["mobyproject:buildkit"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2024-23653","score":0.03446,"percentile":0.89003,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wr6v-9f75-vh2g","url":"https://osv.dev/vulnerability/GHSA-wr6v-9f75-vh2g","summary":"Buildkit's interactive containers API does not validate entitlements check","modified":"2026-09-10T03:50:09.582478065Z","packages":[{"ecosystem":"Go","name":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","ranges":["<0.12.5"],"fixed":["0.12.5"]}]},{"id":"GO-2024-2497","url":"https://osv.dev/vulnerability/GO-2024-2497","summary":"Privilege escalation in github.com/moby/buildkit","modified":"2026-02-04T03:48:49.374178Z","packages":[{"ecosystem":"Go","name":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","ranges":["<0.12.5"],"fixed":["0.12.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}