It could have been almost anyone:
In the case of Cain, there was probably an incentive for any of his rivals to have leaked the sexual harassment story. But as Kennedy notes, that’s also true for just about anyone in the Republican establishment, even those who aren’t aligned with a particular campaign, who have plenty of reason to believe that Cain would be a disaster for their party as its nominee. So there’s no shortage of suspects. And, of course, it’s always possible the story came from somewhere else entirely.