This is despicable. But, is there a law against it?
I guess if it is considered a leak.
Mueller was probably not involved and it was probably someone at the FBI.