Advisory record · GHSA-4v98-7qmw-rqr8

BuildKit vulnerable to possible host system access from mount stub cleaner

CVSS 10.0 CriticalCriticalEPSS 0.025 · 84th percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 31 Jan 2024, 22:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/moby/buildkitGo<0.12.50.12.5
Identifiers
GHSA-4v98-7qmw-rqr8 · CVE-2024-23652 · GO-2024-2494
Weakness (CWE)
CWE-22
Published
31 Jan 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

BuildKit (github.com/moby/buildkit) versions before 0.12.5 are vulnerable. A malicious BuildKit frontend or Dockerfile using RUN --mount can trick the cleanup of empty mountpoint files into deleting a file outside the container on the host system. Upgrade to version 0.12.5 or later; until then, avoid building Dockerfiles or using frontends from untrusted sources.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.025, the 84th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:15 UTC First seen by agentprime
  2. 31 Oct 2026, 14:15 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.