It was a total failure of the 'compartmentalization' mode of thought, probably by Snowden's own design. He had the somewhat unique authorization to take files off-facility on a thumb drive, then used other clearance-level user information to pull 'juicy to leak' intel.
He was also a sysadmin, so... Quis custodiet ipsos custodes? if you're in charge of user authorities, you're probably in a pretty good position to get into stuff you shouldn't.
I like the quote NBC News [1] used from their 'former intelligence official' :
The damage, on a scale of 1 to 10, is a 12
lol, whoops.
[1] - http://investigations.nbcnews.com/_news/2013/08/29/20234171-...
EDIT - typo
And if they did not have L/P then the issue is far more concerning in that PKI was compromised.
https://news.ycombinator.com/item?id=6300057