← Vulnerability feed

Vulnerability record · CVE-2024-23651 · published 31 January 2024

CVE-2024-23651: Mobyproject buildkit race condition vulnerability

Mobyproject · Buildkit

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

7.4 CVSS 3.1 High EPSS 0.79% · top 45.5% CWE-362 · Race condition
7.4CVSS 3.1 base score
0.79%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-23651 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33747Mobyproject buildkit path traversal vulnerabilityBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, when …EPSS 0.58%9.8CVE-2024-23653Mobyproject buildkit incorrect authorization vulnerabilityBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running contain…EPSS 3.0%9.1CVE-2024-23652Mobyproject buildkit path traversal vulnerabilityBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend …EPSS 2.1%8.2CVE-2026-33748Mobyproject buildkit path traversal vulnerabilityBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, insuf…EPSS 0.53%7.3CVE-2026-15793Mobyproject buildkit argument injection vulnerabilityBuildKit custom frontends or clients using the raw low-level API can set git.checkoutbundle=true when checking out Git sources. If the Git source is …EPSS 0.35%6.9CVE-2026-15789Mobyproject buildkit path traversal vulnerabilityA custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The cli…EPSS 0.31%6.5CVE-2023-26054Mobyproject buildkit information exposure vulnerabilityBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In affected versions when the …EPSS 1.0%6.0CVE-2026-15792Mobyproject buildkit improper input validation vulnerabilityA malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic.EPSS 0.42%

Source: NIST National Vulnerability Database (record CVE-2024-23651), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.