ADVISORIES

Vulnerability

CVE-2024-23651

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.

65 advisories report this vulnerability, across 9 ecosystems.

Advisories in SUSE

  • 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-23651

    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…

    Important CVE-2024-23651 SUSE Updated 16 October 2026

References