{"id":"GO-2024-2494","summary":"Host system modification in github.com/moby/buildkit","details":"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.","aliases":["CVE-2024-23652","GHSA-4v98-7qmw-rqr8"],"modified":"2026-03-17T04:49:05.620877Z","published":"2024-02-12T18:45:16Z","related":["CGA-hf9m-rh54-hc2x"],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2024-2494"},"references":[{"type":"ADVISORY","url":"https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8"},{"type":"FIX","url":"https://github.com/moby/buildkit/pull/4603"},{"type":"WEB","url":"https://github.com/moby/buildkit/releases/tag/v0.12.5"}],"affected":[{"package":{"name":"github.com/moby/buildkit","ecosystem":"Go","purl":"pkg:golang/github.com/moby/buildkit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.5"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/moby/buildkit/executor","symbols":["MountStubsCleaner"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-2494.json"}}],"schema_version":"1.7.5","credits":[{"name":"@rmcnamara-snyk"}]}