ADVISORIES

Vulnerability

CVE-2024-23652

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.

65 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALAS2023-2024-542

    Amazon Linux 2023 - ALAS2023-2024-542: Important priority package update for docker

    Important CVE-2023-39326CVE-2023-45289CVE-2024-23650CVE-2024-23651 Amazon Linux Updated 28 August 2024
  • ALPINE-CVE-2024-23652

    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…

    CVE-2024-23652 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2024-23652
    CVE-2024-23652 Alpine Updated 18 November 2026
  • AZL-34086

    CVE-2024-23652 affecting package moby-engine for versions less than 20.10.27-4

    CVE-2024-23652 Azure Linux Updated 21 April 2026
  • AZL-35010

    CVE-2024-23652 affecting package moby-engine for versions less than 25.0.3-1

    CVE-2024-23652 Azure Linux Updated 21 April 2026
  • CGA-2c74-9px2-h6cx
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-347j-q7x3-gphj
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-352m-57rc-vhx5
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-4cqj-crpx-whx6
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-4fm6-m52w-wq68
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-4hqf-g27h-2956
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-4q38-9ghc-fgrp
    CVE-2024-23652 Chainguard Updated 5 November 2026
  • CGA-555r-f246-pcq9
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-5f25-7gq2-9xm4
    CVE-2024-23652 Chainguard Updated 5 November 2026
  • CGA-5x84-2qr3-r945
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-5xp6-6398-3h2h
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-6www-2pr7-g6qr
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-7g53-7r94-ff52
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-89h5-236x-5376
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-9227-73v3-gh87
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-9gv2-2xq4-92hw
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-f82x-9696-9q8q
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-ff3v-w3vx-5w6r
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-g98p-2cxf-999h
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-h4g7-mw5v-qwpq
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-hfqj-7733-gvrg
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-j43p-mrgq-446j
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-jc7g-9rhv-jfw6
    CVE-2024-23652 ChainguardWolfi Updated 27 October 2026
  • CGA-jqw9-7gc7-83mf
    CVE-2024-23652 ChainguardWolfi Updated 27 October 2026
  • CGA-m33q-rvgg-2p3m
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-mc6v-65xr-5gg5
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-mqxv-cqw2-86mf
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-p4gm-4rwp-hhpr
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-p999-c642-hcp3
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-q294-mgpm-gjw3
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-q9hx-2q7v-4cf3
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-r9hv-4c54-x36v
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-rgc7-w3p4-pc7f
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-rmxx-vggg-vmj5
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-rq3x-qh37-jm8q
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-rvc8-529c-rw8w
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-rwpw-2hqx-6mrh
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-v49q-v3w3-xh26
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-vgf4-75f9-xmf9
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-vxhh-jvhh-2hx4
    CVE-2024-23652 ChainguardWolfi Updated 11 September 2026
  • CGA-x26h-mc3w-c434
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • CGA-xf2g-7gcq-qf58
    CVE-2024-23652 ChainguardWolfi Updated 5 November 2026
  • GHSA-4v98-7qmw-rqr8

    BuildKit vulnerable to possible host system access from mount stub cleaner

    Critical CVE-2024-23652 Go Updated 10 September 2026
  • GO-2024-2494

    Host system modification in github.com/moby/buildkit

    CVE-2024-23652 Go Updated 4 February 2026
  • SUSE-SU-2024:0586-1

    Security update for docker

    CVE-2024-23651CVE-2024-23652CVE-2024-23653 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:0586-2

    Security update for docker

    CVE-2024-23651CVE-2024-23652CVE-2024-23653 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0587-1

    Security update for docker

    CVE-2024-23651CVE-2024-23652CVE-2024-23653 SUSE Updated 4 February 2026
  • SUSE-SU-2024:1469-1

    Security update for docker

    CVE-2024-23651CVE-2024-23652CVE-2024-23653 SUSE Updated 4 February 2026
  • SUSE-SU-2024:3120-1

    Security update for buildah, docker

    CVE-2024-1753CVE-2024-23651CVE-2024-23652CVE-2024-23653 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:03540-1

    Security update for docker-stable

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 SUSE Updated 4 February 2026
  • SUSE-SU-2025:03545-1

    Security update for docker-stable

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2025:20056-1

    Security update for docker

    CVE-2024-23651CVE-2024-23652CVE-2024-23653CVE-2024-41110 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20107-1

    Security update for buildkit

    CVE-2024-23651CVE-2024-23652CVE-2024-23653 SUSE Updated 23 March 2026
  • SUSEVEX-CVE-2024-23652

    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…

    Moderate CVE-2024-23652 SUSE Updated 20 October 2026
  • UBUNTU-CVE-2024-23652

    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…

    CVE-2024-23652 Ubuntu Updated 4 February 2026
  • USN-7474-1

    docker.io vulnerabilities

    CVE-2023-28840CVE-2023-28841CVE-2023-28842CVE-2024-23651 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:13651-1

    buildkit-0.12.5-1.1 on GA media

    CVE-2024-23651CVE-2024-23652 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13689-1

    docker-24.0.7_ce-3.1 on GA media

    CVE-2024-23651CVE-2024-23652CVE-2024-23653 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14059-1

    singularity-ce-4.1.3-1.1 on GA media

    CVE-2022-23538CVE-2022-39237CVE-2024-21626CVE-2024-23650 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15589-1

    docker-stable-24.0.9_ce-15.1 on GA media

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 openSUSE Updated 23 March 2026

References