Please see #12.
So he once worked for the CIA but was not a CIA employee when he “leaked”.
The revelation came after days of speculation that the source behind a series of leaks that have transfixed Washington must have been a high-level official at one of Americas spy agencies. Instead, the leaker is a relatively low-level employee of a giant government contractor, Booz Allen Hamilton, that has won billions of dollars in secret government contracts over the past decade, partly by aggressively marketing itself as the premier protector of Americas classified computer infrastructure.
Headline does not match body. Coming from the NY Times, that's hardly a surprise.