1st Amendment protects 3rd parties publishing classified information.
"We’re deeply skeptical that prosecuting WikiLeaks would be constitutional, or a good idea. The courts have made clear that the First Amendment protects independent third parties who publish classified information. Prosecuting WikiLeaks would be no different from prosecuting the media outlets that also published classified documents."