CVE-2024-23653
CWE-863Published: January 31, 2024· Updated: Jun 17, 2026
Official 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.
Risk Analysis
BuildKit allows users to run containers with elevated privileges through its interactive container APIs, bypassing security restrictions. This critical flaw could lead to full system compromise if exploited.
No public exploit is known, and the vulnerability is not in the KEV catalog. It is remotely exploitable.
Upgrade BuildKit to version v0.12.5 and avoid using frontends from untrusted sources.
Technical Analysis
CVE-2024-23653 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-863)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-23653 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts