A malicious external BuildKit frontend can send requests using the internal API that create conditions for a data race, potentially causing the BuildKit daemon to panic. A data race occurs when two or more threads access the same memory location concurrently, and at least one of the accesses is a write.