The CIA often has been incompetent and disloyal (witness the Valerie Plame debacle), but at Washington political infighting, they remain ninja masters.
I wouldn’t want to be in Pelosi’s position right now. Obama, Emanuel, and Hoyer would love to replace Pelosi with Hoyer, giving the White House complete control over the House of Representatives.