GHSA-4v98-7qmw-rqr8 · Severity: critical · Ecosystem: go — BuildKit vulnerable to possible host system access from mount stub cleaner
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.
Conclusion & alert: CVE-2024-23652 is rated High Risk (72.4/100): CVSS Critical severity, with high exploitation likelihood (EPSS 5.70%, 90th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-18 | 4.86% | 5.70% | +0.85% |
| 2 | 2026-01-17 | 3.84% | 4.86% | +1.01% |
| 3 | 2026-01-06 | — | 3.84% | — |
Full EPSS history (37 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 3.1 | CRITICAL |
|
3.9 | 5.8 | [email protected] |
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
GHSA-4v98-7qmw-rqr8 · Severity: critical · Ecosystem: go — BuildKit vulnerable to possible host system access from mount stub cleaner
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2024-23652: 4 source package rows (buildkit, docker, podman, singularity); 19 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 19, open 0. | https://security.alpinelinux.org/vuln/CVE-2024-23652 |
gentoo
|
low | CVE-2024-23652: 3 GLSA(s) (202407-12, 202407-25, 202409-29), 3 atom(s) (app-containers/buildah, app-containers/docker, app-containers/podman); latest impact low. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-23652 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2024-23652 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2024-23652/ |
ubuntu
|
medium | CVE-2024-23652 medium priority: Ubuntu including 2 source packages (docker.io, docker.io-app), 22 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 9, ignored 8, not-affected 3, DNE 2. | https://ubuntu.com/security/CVE-2024-23652 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| mobyproject | buildkit | < 0.12.5 | cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/moby/buildkit/pull/4603 | Patch Vendor Advisory |
| https://github.com/moby/buildkit/releases/tag/v0.12.5 | Patch Release Notes |
| https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8 | Vendor Advisory |