Logan Act, anyone?
IMO, this is a clear violation. But I don't think the Logan Act has ever been enforced, unfortunately. GWB has enough to do without picking a fight about this. So he gets away with it.