If we had a REAL CIA this would have never happen.
However bad and incompetent the CIA may be, this series of leaks doesn't appear to be their fault. Based on all that I've seen, the Agency would seem to be entirely blameless.
Rather, the finger of blame should be pointed at the "genius" (or group of "geniuses") in State and/or DOD who decided that such material should be made available to low-level personnel without regard to the old-fashioned security rule of "need to know."