Kerry still has a security clearance and, I’m guessing, that there were plenty in government happy to give him the info.
No telling what Hillary is telling to other countries, then.