← Vulnerability feed

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

CVE-2024-23652: Mobyproject buildkit path traversal vulnerability

Mobyproject · Buildkit

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

9.1 CVSS 3.1 Critical EPSS 2.1% · top 19.5% CWE-22 · Path traversal
9.1CVSS 3.1 base score
2.1%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. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

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

Affected products

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

References

Track CVE-2024-23652 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%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.4CVE-2024-23651Mobyproject buildkit race condition vulnerabilityBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps runn…EPSS 0.79%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-23652), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.