CVE-2024-23652Critical· 10.0▾ AbyssalPoC availableBuildKit vulnerable to possible host system access from mount stub cleaner
▾ Abyssal zone — Critical with a public exploit or in-the-wild use
impact 55 · likelihood 0.4 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 1 source. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Sep 12.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
2.1%
1 GitHub repo (last check)
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
Avoid using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.
github.com/moby/buildkit < 0.12.5Upgrade to a patched release:
github.com/moby/buildkit 0.12.5Connected by shared product, vendor, weakness, or advisory.
CVE-2026-33748High· 7.5BuildKit Git URL subdir component can cause access to restricted files
CVE-2026-61711MediumBuildKit: Custom frontend could bypass Seccomp/AppArmor
CVE-2026-61712LowBuildKit has a possible runtime DoS via unbounded group parsing
CVE-2021-41091Medium· 5.9Moby (Docker Engine) Insufficiently restricted permissions on data directory
CVE-2020-27534Medium· 5.3Path Traversal in Moby builder
CVE-2024-36621Medium· 6.5Moby Race Condition vulnerability