Minecraft wiki entry for Development_versions, associated text: MC-136759 – Spawn eggs do not make sure that the entity is valid for the egg, allowing for arbitrary command execution in certain cases.[2]