Probably not for just a ruling. If it was particularly egregious, maybe removed from bench, but unlikely to be arrested.
Unlikely they would store such material on a system that was open to being hacked.
Clinton purposely left it unsecured so those who bribed her could easily access the information.
I doubt Iran could hack an air-gapped system located in a secure facility.
Dugan physically aided the illegal. Issuing a ruling is a bit different.