My assumption is Trump and his top advisors all have regular and friendly dealings with foreign adversaries.
So I expect this was less of a security breach and more of an accidental disclosure along with other intentionally disclosed information. Something along the lines of an assistant was asked to email the candidate dossiers and oppo research, and they zipped up the entire folder sitting on their desktop named “candidates”.