It is 100% legal for ALL foreign entities to "release information" either for or against any public applicant for a US office. That is what WHISTELBLOWERS do! Information is paramount to good decisionmaking, and to a democracy. Foreing countries have all the power in the world to release data, but not to upend candidates through coercsion or threats or ILLEGAL means. Once again: INFLUENCE = LEGAL. The US does it all the time to other countries.